keyProtection (property)
Specifies the level of protection applied to the secret key.
Syntax
@property (nonatomic,readwrite,assign,getter=keyProtection,setter=setKeyProtection:) int keyProtection; - (int)keyProtection; - (void)setKeyProtection:(int)newKeyProtection;
/* Possible Values */
PPT_NONE(0),
PPT_LOW(1),
PPT_NORMAL(2),
PPT_HIGH(3)
public var keyProtection: PgpkeymanagerKeyProtections { get {...}
set {...} }
public enum PgpkeymanagerKeyProtections : Int32 { case pptNone = 0 case pptLow = 1 case pptNormal = 2 case pptHigh = 3 }
Default Value
0
Remarks
Specifies the level of protection applied to the secret key.
Allowed values:
pptNone | 0 | Key is not encrypted |
pptLow | 1 | Only the password hash is used to derive the secret key |
pptNormal | 2 | Password hash with salt is used to derive the secret key |
pptHigh | 3 | Hash from multiple passwords and salt are used for key derivation |