Open Pgp ContextIs Expired Method
Check if a public key is expired.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
if the public key is expired; otherwise, .
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
protected static bool IsExpired(
PgpPublicKey key
)Parameters
- key PgpPublicKey
- The public key.
Return Value
Booleanif the public key is expired; otherwise, .
Remarks
Checks if a public key is expired.
Exceptions
| ArgumentNullException | key is . |