X509CRLEntryReasonCode Property |
Gets the revocation reason code. The possible codes and their values are:
Revocation code | Code definition. |
---|
0 | Unspecified - the certificate was revoked due to a reason that is not referenced in the table. |
1 | Key Compromise - the certificate's private key was compromised or disclosed to a unauthorized person.
This code is used for end entity certificates. |
2 | CA Compromise - the CA certificate's private key was compromised or disclosed to a unauthorized person.
This code is used for CA certificates. |
3 | Change Of Affiliation - the certificate holder changed his/her position or role that do not allow
current certificate usage. |
4 | Superseded - the certificate was revoked because it is superseded by a new certificate. |
5 | Cease Of Operation - the certificate holder do no longer perform the role. For example, an employee
leaves a organization, or server is decommissioned. |
6 | Hold 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. |
7 | Privilege Withdrawn - the certificate holder do not have required priveleges to use the certificate. |
8 | Release From Hold - the certificate is removed from Hold Certificate state and
will be removed from CRL. |
10 | Authorization 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; }
Public ReadOnly Property ReasonCode As Integer
Get
public:
property int ReasonCode {
int get ();
}
member ReasonCode : int with get
Property Value
Type:
Int32Remarks Revocation reason textual meaning is provided in the
ReasonMessage property description.
See Also