Click or drag to resize

PkcsSubjectIdentifier Constructor (X509Certificate2, SubjectIdentifierType)

Initializes a new instance of PkcsSubjectIdentifier class using signer certificate and type how this certificate is referenced in signer information of PkcsSignerInfo object.

Namespace:  SysadminsLV.PKI.Cryptography.Pkcs
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public PkcsSubjectIdentifier(
	X509Certificate2 certificate,
	SubjectIdentifierType subjectType
)

Parameters

certificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
A certificate used to sign data.
subjectType
Type: System.Security.Cryptography.PkcsSubjectIdentifierType
A type how presented certificate will be referenced in PkcsSignerInfo.
Exceptions
ExceptionCondition
ArgumentNullExceptioncertificate parameter is null.
See Also