Method CheckIfRevoked
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
CheckIfRevoked(PdfCertificateRevocationCheckMode)
Checks if the signing certificate stored in this signature contents is revoked now.
public bool CheckIfRevoked(PdfCertificateRevocationCheckMode mode)
Parameters
mode
PdfCertificateRevocationCheckModeThe revocation check mode to use.
Returns
- bool
true
if the signing certificate stored in this signature contents is revoked at the current time;false
otherwise.
Remarks
This method requires an internet connection when used with one of the online modes.
CheckIfRevoked(PdfCertificateRevocationCheckMode, DateTime)
Checks if the signing certificate stored in this signature contents is revoked at the specified date and time.
public bool CheckIfRevoked(PdfCertificateRevocationCheckMode mode, DateTime date)
Parameters
mode
PdfCertificateRevocationCheckModeThe revocation check mode to use.
date
DateTimeThe date and time to check revocation at.
Returns
- bool
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.