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
)
Public Sub New (
certificate As X509Certificate2,
subjectType As SubjectIdentifierType
)
public:
PkcsSubjectIdentifier(
X509Certificate2^ certificate,
SubjectIdentifierType subjectType
)
new :
certificate : X509Certificate2 *
subjectType : SubjectIdentifierType -> PkcsSubjectIdentifier
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 Exception | Condition |
---|
ArgumentNullException | certificate parameter is null.
|
See Also