Inherits from PGPSymmetricallyEncryptedDataPacket : PGPPacket : NSObject
Declared in PGPSymmetricallyEncryptedIntegrityProtectedDataPacket.h

Properties

version

@property (nonatomic) NSUInteger version

Instance Methods

decryptWithSecretKeyPacket:sessionKeyAlgorithm:sessionKeyData:isIntegrityProtected:error:

- (NSArray<PGPPacket*> *)decryptWithSecretKeyPacket:(PGPSecretKeyPacket *)secretKeyPacket sessionKeyAlgorithm:(PGPSymmetricAlgorithm)sessionKeyAlgorithm sessionKeyData:(NSData *)sessionKeyData isIntegrityProtected:(BOOL *)isIntegrityProtected error:(NSError *__autoreleasing _Nullable *)error

encrypt:symmetricAlgorithm:sessionKeyData:error:

- (BOOL)encrypt:(NSData *)literalPacketData symmetricAlgorithm:(PGPSymmetricAlgorithm)sessionKeyAlgorithm sessionKeyData:(NSData *)sessionKeyData error:(NSError *__autoreleasing *)error