Edit

Share via


X509IssuerSerialKeyIdentifierClause Constructors

Definition

Initializes a new instance of the X509IssuerSerialKeyIdentifierClause class.

Overloads

X509IssuerSerialKeyIdentifierClause(X509Certificate2)

Initializes a new instance of the X509IssuerSerialKeyIdentifierClause class using the specified X.509 certificate.

X509IssuerSerialKeyIdentifierClause(String, String)

Initializes a new instance of the X509IssuerSerialKeyIdentifierClause class using the specified distinguished name of the certificate issuer and the serial number of the X.509 certificate.

X509IssuerSerialKeyIdentifierClause(X509Certificate2)

Source:
X509IssuerSerialKeyIdentifierClause.cs

Initializes a new instance of the X509IssuerSerialKeyIdentifierClause class using the specified X.509 certificate.

public:
 X509IssuerSerialKeyIdentifierClause(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public X509IssuerSerialKeyIdentifierClause (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
new System.IdentityModel.Tokens.X509IssuerSerialKeyIdentifierClause : System.Security.Cryptography.X509Certificates.X509Certificate2 -> System.IdentityModel.Tokens.X509IssuerSerialKeyIdentifierClause
Public Sub New (certificate As X509Certificate2)

Parameters

certificate
X509Certificate2

An X509Certificate2 that contains the X.509 certificate.

Exceptions

certificate is null.

Remarks

This constructor sets the IssuerName and IssuerSerialNumber to the value of the IssuerName property and the issuer serial number returned from the GetSerialNumber method, respectively.

Applies to

X509IssuerSerialKeyIdentifierClause(String, String)

Source:
X509IssuerSerialKeyIdentifierClause.cs

Initializes a new instance of the X509IssuerSerialKeyIdentifierClause class using the specified distinguished name of the certificate issuer and the serial number of the X.509 certificate.

public:
 X509IssuerSerialKeyIdentifierClause(System::String ^ issuerName, System::String ^ issuerSerialNumber);
public X509IssuerSerialKeyIdentifierClause (string issuerName, string issuerSerialNumber);
new System.IdentityModel.Tokens.X509IssuerSerialKeyIdentifierClause : string * string -> System.IdentityModel.Tokens.X509IssuerSerialKeyIdentifierClause
Public Sub New (issuerName As String, issuerSerialNumber As String)

Parameters

issuerName
String

The distinguished name of the certificate authority that issued the X.509 certificate. Sets the value of the IssuerName property.

issuerSerialNumber
String

The serial number of the X.509 certificate. Sets the value of the IssuerSerialNumber property.

Exceptions

issuerName is null.

-or-

issuerSerialNumber is null.

Remarks

The issuerSerialNumber parameter must be in signed large integer format.

Applies to