Return the number of seconds a key is valid for after its creation date. A value of zero means the key never expires.

Namespace: Org.BouncyCastle.Bcpg.OpenPgp
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public long GetKeyExpirationTime()
Visual Basic
Public Function GetKeyExpirationTime As Long
Visual C++
public:
long long GetKeyExpirationTime()

Return Value

Seconds a signature is valid for.

See Also