- Declared In:
- GPGME/GPGContext.h
- - context:passphraseForKey:again:
- (NSString *)context:(GPGContext *)context passphraseForKey:(GPGKey *)key again:(BOOL)again
key is the secret key for which the user is asked a passphrase. key is nil only in case of symmetric encryption/decryption. again is set to YES if user typed a wrong passphrase the previous time(s).
If you return nil, it means that user cancelled passphrase request.