Click or drag to resize

X509CRLEntry Class

Represents a CRL entry of certificate revocation list that contains information about revoked certificate.
Inheritance Hierarchy
SystemObject
  System.Security.Cryptography.X509CertificatesX509CRLEntry

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public sealed class X509CRLEntry

The X509CRLEntry type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyRawData
Gets the ASN.1-encoded byte array.
Public propertyReasonCode
Gets the revocation reason code. The possible codes and their values are:
Revocation codeCode definition.
0Unspecified - the certificate was revoked due to a reason that is not referenced in the table.
1Key Compromise - the certificate's private key was compromised or disclosed to a unauthorized person. This code is used for end entity certificates.
2CA Compromise - the CA certificate's private key was compromised or disclosed to a unauthorized person. This code is used for CA certificates.
3Change Of Affiliation - the certificate holder changed his/her position or role that do not allow current certificate usage.
4Superseded - the certificate was revoked because it is superseded by a new certificate.
5Cease Of Operation - the certificate holder do no longer perform the role. For example, an employee leaves a organization, or server is decommissioned.
6Hold Certificate - the certificate is revoked for a time (not permanently) and it is possible to "unrevoke" the certificate further. This code should not be used, because it is impossible to determine whether the certificate was invalid at certain date.
7Privilege Withdrawn - the certificate holder do not have required priveleges to use the certificate.
8Release From Hold - the certificate is removed from Hold Certificate state and will be removed from CRL.
10Authorization Authority Compromise - the authority that performs authorization tasks is compromised/disclosed.
Public propertyReasonMessage
Gets the textual representation of RevocationCode. See ReasonCode for the list of possible values and code meanings.
Public propertyRevocationDate
Gets the date and time when certificate was revoked by an issuer.
Public propertySerialNumber
Gets the serial number of the revoked certificate.
Top
Methods
  NameDescription
Public methodEncode
Encodes revocation entry to a ASN.1-encoded byte array.
Public methodEquals
Compares two X509CRLEntry objects for equality.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns the hash code for the CRL entry as an integer.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodToString
Gets textual information about revoked certificate. An output contains certificate serial number and revocation date.
(Overrides ObjectToString.)
Top
Remarks
This class do not expose any public constructor.
See Also