Click or drag to resize

X509CRLEntryReasonCode Property

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.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public int ReasonCode { get; }

Property Value

Type: Int32
Remarks
Revocation reason textual meaning is provided in the ReasonMessage property description.
See Also