 | OpenPgpContextGetPasswordForKey Method |
Get the password for a secret key.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxprotected abstract string GetPasswordForKey(
PgpSecretKey key
)
Parameters
- key PgpSecretKey
- The secret key.
Return Value
StringThe password for the secret key.
Exceptions
Remarks
Gets the password for a secret key.
See Also