Class RevokedStatus
- Namespace
- Org.BouncyCastle.Ocsp
- Assembly
- BouncyCastle.Cryptography.dll
Wrapper for the RevokedInfo object
public class RevokedStatus : CertificateStatus
- Inheritance
-
RevokedStatus
- Inherited Members
Constructors
RevokedStatus(RevokedInfo)
public RevokedStatus(RevokedInfo revokedInfo)
Parameters
revokedInfoRevokedInfo
RevokedStatus(DateTime)
public RevokedStatus(DateTime revocationDate)
Parameters
revocationDateDateTime
RevokedStatus(DateTime, int)
public RevokedStatus(DateTime revocationDate, int reason)
Parameters
Properties
HasRevocationReason
public bool HasRevocationReason { get; }
Property Value
RevocationReason
Return the revocation reason, if there is one.
public int RevocationReason { get; }
Property Value
- int
The revocation reason, if available.
Remarks
This field is optional; test for it with HasRevocationReason first.
Exceptions
- InvalidOperationException
If no revocation reason is available.
RevocationTime
public DateTime RevocationTime { get; }