|  | OpenPgpContextGetSecretKey Method | 
            Get the secret key for a specified key identifier.
            
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.12.0
 Syntax
Syntaxprotected abstract PgpSecretKey GetSecretKey(
	long keyId,
	CancellationToken cancellationToken
)
Parameters
- keyId  Int64
- The key identifier for the desired secret key.
- cancellationToken  CancellationToken
- The cancellation token.
Return Value
PgpSecretKeyThe secret key.
 Exceptions
Exceptions Remarks
Remarks
            Gets the secret key for a specified key identifier.
            
 See Also
See Also