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

Properties

encryptedWithPassphrase

@property (nonatomic, getter=isEncryptedWithPassphrase, readonly) BOOL encryptedWithPassphrase

ivData

@property (nonatomic, nullable, copy, readonly) NSData *ivData

s2k

@property (nonatomic, readonly) PGPS2K *s2k

s2kUsage

@property (nonatomic, readonly) PGPS2KUsage s2kUsage

symmetricAlgorithm

@property (nonatomic, readonly) PGPSymmetricAlgorithm symmetricAlgorithm

Instance Methods

decryptedKeyPacket:error:

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

Decrypt packet

Parameters

passphrase

Passphrase

error

error

Return Value

Decrypted key on success

Declared In

PGPSecretKeyPacket.h

secretMPI:

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