decryptAndVerify (method)
Decrypts and verifies a protected message.
Syntax
- (NSData*)decryptAndVerify:(NSData*)sourceBytes :(int)startIndex :(int)count;
public func decryptAndVerify(_ sourceBytes: Data, _ startIndex: Int32, _ count: Int32) throws -> Data
Remarks
Use this method to unprotect a PGP message contained in a byte array. The method returns the decrypted message.