Inherits from PGPPublicKeyPacket : PGPPacket : NSObject
Conforms to NSCopying
Declared in PGPSecretKeyPacket.h

Properties

isEncrypted

@property (assign, readonly, nonatomic) BOOL isEncrypted

ivData

@property (strong, readonly) NSData *ivData

s2k

@property (strong) PGPS2K *s2k

s2kUsage

@property (assign) PGPS2KUsage s2kUsage

symmetricAlgorithm

@property (assign) PGPSymmetricAlgorithm symmetricAlgorithm

Instance Methods

decryptData:withPublicKeyAlgorithm:

- (NSData *)decryptData:(NSData *)data withPublicKeyAlgorithm:(PGPPublicKeyAlgorithm)publicKeyAlgorithm

decryptedKeyPacket:error:

- (PGPSecretKeyPacket *)decryptedKeyPacket:(NSString *)passphrase error:(NSError *__autoreleasing *)error
Discussion

Decrypt packet

Parameters

passphrase

Password

error

error

Return Value

Decrypted key on success

Declared In

PGPSecretKeyPacket.h

secretMPI:

- (PGPMPI *)secretMPI:(NSString *)identifier