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
modePdfCertificateRevocationCheckModeThe revocation check mode to use.
Returns
- bool
trueif the signing certificate stored in this signature contents is revoked at the current time;falseotherwise.
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
modePdfCertificateRevocationCheckModeThe revocation check mode to use.
dateDateTimeThe date and time to check revocation at.
Returns
- bool
trueif the signing certificate stored in this signature contents is revoked at the specified date and time;falseotherwise.
Remarks
This method requires an internet connection when used with one of the online modes.