Click or drag to resize

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.
Inheritance Hierarchy
SystemObject
  PKI.OCSPCertID

Namespace:  PKI.OCSP
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public class CertID

The CertID type exposes the following members.

Constructors
  NameDescription
Public methodCertID(Byte)
Initializes a new instance of the CertID class
Public methodCertID(X509Certificate2)
Initializes a new instance of the CertID class
Public methodCertID(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.
Top
Properties
  NameDescription
Public propertyHashingAlgorithm
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.
Public propertyIsReadOnly
Gets the status of the object and an ability to change HashAlgorithm member. If thie member is set to True, HashAlgorithm property is read-only.
Public propertyIssuerKeyId
The hash calculated over the value (excluding tag and length) of the subject public key field in the issuer's certificate.
Public propertyIssuerNameId
Gets the hash of the Issuer's distinguished name.
Public propertySerialNumber
Gets the serial number of the certificate for which status is being requested.
Top
Methods
  NameDescription
Public methodEncode
Encodes current object to a DER-encoded byte array. Returned array is used to construct initial OCSP Request structure.
Public methodEquals(Object) (Inherited from Object.)
Public methodEquals(CertID)
Compares two CertID objects for equality.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also