OpenPgpContextIsExpired Method

Check if a public key is expired.

Definition

Namespace: MimeKit.Cryptography
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

Boolean
if the public key is expired; otherwise, .

Remarks

Checks if a public key is expired.

Exceptions

See Also