PkcsSubjectIdentifier(X509Certificate2, SubjectIdentifierType) Constructor

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

Definition

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

Parameters

certificate  X509Certificate2
A certificate used to sign data.
subjectType  SubjectIdentifierType
A type how presented certificate will be referenced in PkcsSignerInfo.

Exceptions

ArgumentNullExceptioncertificate parameter is null.

See Also