PdfSignatureContents.CheckIfRevoked Method (PdfCertificateRevocationCheckMode, DateTime)

Checks if the signing certificate stored in this signature contents is revoked at the specified date and time.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public bool CheckIfRevoked(
	PdfCertificateRevocationCheckMode mode,
	DateTime date
)
VB
Public Function CheckIfRevoked ( 
	mode As PdfCertificateRevocationCheckMode,
	date As DateTime
) As Boolean

Parameters

mode
Type: BitMiracle.Docotic.Pdf.PdfCertificateRevocationCheckMode
The revocation check mode to use.
date
Type: System.DateTime
The date and time to check revocation at.

Return Value

Type: Boolean
true if the signing certificate stored in this signature contents is revoked at the specified date and time; false otherwise.

Remarks

This method requires an internet connection when used with one of the online modes.

See Also