Inherits from NSObject
Declared in ObjectivePGP.h

Properties

keys

@property (strong, nonatomic) NSArray *keys
Discussion

Array of PGPKey

Declared In

ObjectivePGP.h

Instance Methods

decryptData:passphrase:error:

- (NSData *)decryptData:(NSData *)messageDataToDecrypt passphrase:(NSString *)passphrase error:(NSError *__autoreleasing *)error

encryptData:usingPublicKey:armored:error:

- (NSData *)encryptData:(NSData *)dataToEncrypt usingPublicKey:(PGPKey *)publicKey armored:(BOOL)armored error:(NSError *__autoreleasing *)error

exportKey:armored:

- (NSData *)exportKey:(PGPKey *)key armored:(BOOL)armored

exportKeys:toFile:error:

- (BOOL)exportKeys:(NSArray *)keys toFile:(NSString *)path error:(NSError *__autoreleasing *)error

exportKeysOfType:toFile:error:

- (BOOL)exportKeysOfType:(PGPKeyType)type toFile:(NSString *)path error:(NSError *__autoreleasing *)error

getKeyForIdentifier:type:

- (PGPKey *)getKeyForIdentifier:(NSString *)keyIdentifier type:(PGPKeyType)keyType

getKeyForKeyID:type:

- (PGPKey *)getKeyForKeyID:(PGPKeyID *)searchKeyID type:(PGPKeyType)keyType

getKeysForUserID:

- (NSArray *)getKeysForUserID:(NSString *)userID

getKeysOfType:

- (NSArray *)getKeysOfType:(PGPKeyType)keyType

importKey:fromFile:

- (BOOL)importKey:(NSString *)shortKeyStringIdentifier fromFile:(NSString *)path

importKeysFromData:

- (NSArray *)importKeysFromData:(NSData *)data

importKeysFromFile:

- (NSArray *)importKeysFromFile:(NSString *)path

signData:usingSecretKey:passphrase:

- (NSData *)signData:(NSData *)dataToSign usingSecretKey:(PGPKey *)secretKey passphrase:(NSString *)passphrase

signData:usingSecretKey:passphrase:detached:

- (NSData *)signData:(NSData *)dataToSign usingSecretKey:(PGPKey *)secretKey passphrase:(NSString *)passphrase detached:(BOOL)detached

signData:withKeyForUserID:passphrase:

- (NSData *)signData:(NSData *)dataToSign withKeyForUserID:(NSString *)userID passphrase:(NSString *)passphrase

signData:withKeyForUserID:passphrase:detached:

- (NSData *)signData:(NSData *)dataToSign withKeyForUserID:(NSString *)userID passphrase:(NSString *)passphrase detached:(BOOL)detached

verifyData:

- (BOOL)verifyData:(NSData *)signedData

verifyData:withSignature:

- (BOOL)verifyData:(NSData *)signedData withSignature:(NSData *)signatureData

verifyData:withSignature:usingKey:

- (BOOL)verifyData:(NSData *)signedData withSignature:(NSData *)signatureData usingKey:(PGPKey *)publicKey