Set the number of seconds a signature is valid for after the time of its creation. A value of zero means the signature never expires.

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

Syntax

C#
public void SetSignatureExpirationTime(
	bool isCritical,
	long seconds
)
Visual Basic
Public Sub SetSignatureExpirationTime ( _
	isCritical As Boolean, _
	seconds As Long _
)
Visual C++
public:
void SetSignatureExpirationTime(
	bool isCritical, 
	long long seconds
)

Parameters

isCritical
Type: System..::..Boolean
True, if should be treated as critical, false otherwise.
seconds
Type: System..::..Int64
The number of seconds the signature is valid, or zero if no expiry.

See Also