CertID Class

The class represents an object to identify the certificate to include in OCSP Request. Also this object is returned by the OCSP Responder.

Definition

Namespace: SysadminsLV.PKI.OcspClient
Assembly: SysadminsLV.PKI.OcspClient (in SysadminsLV.PKI.OcspClient.dll) Version: 4.0.1
C#
public class CertID
Inheritance
Object    CertID

Constructors

CertID(Byte)Initializes a new instance of the CertID class
CertID(X509Certificate2)Initializes a new instance of the CertID class
CertID(X509Certificate2, X509Certificate2) Initializes a new instance of the CertID class using leaf and issuer certificates. This constructor do not check whether the certificate in the issuer parameter actually signed the certificate in the leafCert parameter.

Properties

HashingAlgorithm Gets or sets the algorithm used to hash properties of a certificate.

Remarks

Setter accessor works only when IsReadOnly member is set to False, otherwise it throws ArgumentException exception.
IsReadOnly Gets the status of the object and an ability to change HashAlgorithm member. If the member is set to True, HashAlgorithm property is read-only.
IssuerKeyId The hash calculated over the value (excluding tag and length) of the subject public key field in the issuer's certificate.
IssuerNameId Gets the hash of the Issuer's distinguished name.
SerialNumber Gets the serial number of the certificate for which status is being requested.

Methods

Encode Encodes current object to a DER-encoded byte array. Returned array is used to construct initial OCSP Request structure.
Equals(CertID) Compares two CertID objects for equality.
Equals(Object)
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also