Click or drag to resize

SubjectIdentifier2 Class

The SubjectIdentifier2 class defines the type of the identifier of a subject, such as a PkcsSignerInfo. The subject can be identified by the certificate issuer and serial number or the subject key.
Inheritance Hierarchy
SystemObject
  SysadminsLV.PKI.Cryptography.PkcsSubjectIdentifier2

Namespace:  SysadminsLV.PKI.Cryptography.Pkcs
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public sealed class SubjectIdentifier2

The SubjectIdentifier2 type exposes the following members.

Constructors
  NameDescription
Public methodSubjectIdentifier2
Initializes a new instance of the SubjectIdentifier2 class
Top
Properties
  NameDescription
Public propertyType
Gets the type of the of subject identifier. The subject can be identified by the certificate issuer and serial number or the subject key.

The following table displays mappings between subject identifier type and object type stored in the Value property:

Identifier typeObject type
IssuerAndSerialNumberAn instance of X509IssuerSerial class.
SubjectKeyIdentifier A string that represents subject key identifier value (cryptographic hash calculated over a public key).
Sha1HashA SHA1 hash of the certificate to be used as a unique identifier of the certificate.
UnknownNULL

Public propertyValue
Contains the value of the subject identifier. Object type and it's description depends on Type property value.

The following table displays mappings between subject identifier type and object type stored in the property:

Identifier typeObject type
IssuerAndSerialNumberAn instance of X509IssuerSerial class.
SubjectKeyIdentifier A string that represents subject key identifier value (cryptographic hash calculated over a public key).
NoSignatureA string that contains hash value of external message.
UnknownNULL.

Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Remarks
This class is a replacement for for a .NET native SubjectIdentifier class.
See Also