SubjectIdentifier Class
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9313)
The SubjectIdentifier class identifies a subject, either by certificate issuer and serial number, by the subject key identifier or by a public key.
Syntax
public class SubjectIdentifier : PkcsBaseInherited Members
Properties
| Name | Description | 
|---|---|
| Issuer | Gets the DistinguishedName of the certificate issuer if this subject identifier is identified by the issuer name and serial number. Otherwise, this property will return null. | 
| PublicKey | Gets the public of the certificate if this subject identifier is identified by the public key. Otherwise, this property will return null. | 
| PublicKeyAlgorithm | Gets the public algorithm of the certificate if this subject identifier is identified by the public key. Otherwise, this property will return null. | 
| SerialNumber | Gets the serial number of the certificate if this subject identifier is identified by the issuer name and serial number. Otherwise, this property will return null. | 
| SubjectKeyIdentifier | Gets the subject key identifier of the certificate if this subject identifier is identified by the subject key identifier. Otherwise, this property will return null. | 
| Type | Gets the type of the subject identifier. | 
Methods
| Name | Description | 
|---|---|
| LoadSignedOrEnvelopedData(Stream, ICertificateFinder, Boolean) | Loads a CMS/PKCS #7 signed or enveloped message from a stream. Returns an instance of SignedData for signed message, EnvelopedData for enveloped message, or null for methods and properties. Inherited from PkcsBase. |