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:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.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)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(CertID)
Compares two CertID objects for equality.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also