X509SigningCredentials Construtores

Definição

Inicializa uma nova instância da classe X509SigningCredentials com base em um certificado X.509 especificado.Initializes a new instance of the X509SigningCredentials class based on a specified X.509 certificate.

Sobrecargas

X509SigningCredentials(X509Certificate2)

Inicializa uma nova instância da classe X509SigningCredentials com base no certificado X.509 especificado.Initializes a new instance of the X509SigningCredentials class based on the specified X.509 certificate.

X509SigningCredentials(X509Certificate2, SecurityKeyIdentifier)

Inicializa uma nova instância da classe X509SigningCredentials com base no certificado X.509 e no identificador de chave de segurança especificados.Initializes a new instance of the X509SigningCredentials class based on the specified X.509 certificate and security key identifier.

X509SigningCredentials(X509Certificate2, String, String)

Inicializa uma nova instância da classe X509SigningCredentials com base no certificado X.509 especificado, no algoritmo de assinatura e no algoritmo digest.Initializes a new instance of the X509SigningCredentials class based on the specified X.509 certificate, signature algorithm, and digest algorithm.

X509SigningCredentials(X509Certificate2, SecurityKeyIdentifier, String, String)

Inicializa uma nova instância da classe X509SigningCredentials com base no certificado X.509 especificado, no identificador de chave de segurança, no algoritmo de assinatura e no algoritmo digest.Initializes a new instance of the X509SigningCredentials class based on the specified X.509 certificate, security key identifier, signature algorithm, and digest algorithm.

X509SigningCredentials(X509Certificate2)

Inicializa uma nova instância da classe X509SigningCredentials com base no certificado X.509 especificado.Initializes a new instance of the X509SigningCredentials class based on the specified X.509 certificate.

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

Parâmetros

certificate
X509Certificate2

O certificado X.509.The X.509 certificate.

Comentários

Por padrão, esse construtor usa um X509RawDataKeyIdentifierClause para gerar o identificador de chave de segurança.By default, this constructor uses an X509RawDataKeyIdentifierClause to generate the security key identifier.

Aplica-se a

X509SigningCredentials(X509Certificate2, SecurityKeyIdentifier)

Inicializa uma nova instância da classe X509SigningCredentials com base no certificado X.509 e no identificador de chave de segurança especificados.Initializes a new instance of the X509SigningCredentials class based on the specified X.509 certificate and security key identifier.

public:
 X509SigningCredentials(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ski);
public X509SigningCredentials (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.IdentityModel.Tokens.SecurityKeyIdentifier ski);
new System.IdentityModel.Tokens.X509SigningCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.IdentityModel.Tokens.X509SigningCredentials
Public Sub New (certificate As X509Certificate2, ski As SecurityKeyIdentifier)

Parâmetros

certificate
X509Certificate2

O certificado X.509.The X.509 certificate.

ski
SecurityKeyIdentifier

O identificador de chave de segurança.The security key identifier.

Comentários

Os tipos de cláusula de identificador de chave com suporte pelo Windows Communication Foundation para gerar um identificador de chave de segurança que faz referência a um X509SecurityToken são X509SubjectKeyIdentifierClause , X509ThumbprintKeyIdentifierClause ,, X509IssuerSerialKeyIdentifierClause e X509RawDataKeyIdentifierClause .The key identifier clause types supported by Windows Communication Foundation for generating a security key identifier that references an X509SecurityToken are X509SubjectKeyIdentifierClause, X509ThumbprintKeyIdentifierClause, X509IssuerSerialKeyIdentifierClause, and X509RawDataKeyIdentifierClause. No entanto, para habilitar cenários personalizados, esse construtor não executa nenhuma validação nos tipos de cláusula que foram usados para gerar o identificador de chave de segurança fornecido no ski parâmetro.However, in order to enable custom scenarios, this constructor does not perform any validation on the clause types that were used to generate the security key identifier supplied in the ski parameter.

Aplica-se a

X509SigningCredentials(X509Certificate2, String, String)

Inicializa uma nova instância da classe X509SigningCredentials com base no certificado X.509 especificado, no algoritmo de assinatura e no algoritmo digest.Initializes a new instance of the X509SigningCredentials class based on the specified X.509 certificate, signature algorithm, and digest algorithm.

public:
 X509SigningCredentials(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::String ^ signatureAlgorithm, System::String ^ digestAlgorithm);
public X509SigningCredentials (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, string signatureAlgorithm, string digestAlgorithm);
new System.IdentityModel.Tokens.X509SigningCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 * string * string -> System.IdentityModel.Tokens.X509SigningCredentials
Public Sub New (certificate As X509Certificate2, signatureAlgorithm As String, digestAlgorithm As String)

Parâmetros

certificate
X509Certificate2

O certificado X.509.The X.509 certificate.

signatureAlgorithm
String

O algoritmo de assinatura.The signature algorithm.

digestAlgorithm
String

O algoritmo digest.The digest algorithm.

Comentários

Por padrão, esse construtor usa um X509RawDataKeyIdentifierClause para gerar o identificador de chave de segurança.By default, this constructor uses an X509RawDataKeyIdentifierClause to generate the security key identifier.

Aplica-se a

X509SigningCredentials(X509Certificate2, SecurityKeyIdentifier, String, String)

Inicializa uma nova instância da classe X509SigningCredentials com base no certificado X.509 especificado, no identificador de chave de segurança, no algoritmo de assinatura e no algoritmo digest.Initializes a new instance of the X509SigningCredentials class based on the specified X.509 certificate, security key identifier, signature algorithm, and digest algorithm.

public:
 X509SigningCredentials(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ski, System::String ^ signatureAlgorithm, System::String ^ digestAlgorithm);
public X509SigningCredentials (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.IdentityModel.Tokens.SecurityKeyIdentifier ski, string signatureAlgorithm, string digestAlgorithm);
new System.IdentityModel.Tokens.X509SigningCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.IdentityModel.Tokens.SecurityKeyIdentifier * string * string -> System.IdentityModel.Tokens.X509SigningCredentials
Public Sub New (certificate As X509Certificate2, ski As SecurityKeyIdentifier, signatureAlgorithm As String, digestAlgorithm As String)

Parâmetros

certificate
X509Certificate2

O certificado X.509.The X.509 certificate.

ski
SecurityKeyIdentifier

O identificador de chave de segurança.The security key identifier.

signatureAlgorithm
String

O algoritmo de assinatura.The signature algorithm.

digestAlgorithm
String

O algoritmo digest.The digest algorithm.

Comentários

Os tipos de cláusula de identificador de chave com suporte pelo Windows Communication Foundation para gerar um identificador de chave de segurança que faz referência a um X509SecurityToken são X509SubjectKeyIdentifierClause , X509ThumbprintKeyIdentifierClause ,, X509IssuerSerialKeyIdentifierClause e X509RawDataKeyIdentifierClause .The key identifier clause types supported by Windows Communication Foundation for generating a security key identifier that references an X509SecurityToken are X509SubjectKeyIdentifierClause, X509ThumbprintKeyIdentifierClause, X509IssuerSerialKeyIdentifierClause, and X509RawDataKeyIdentifierClause. No entanto, para habilitar cenários personalizados, esse construtor não executa nenhuma validação nos tipos de cláusula que foram usados para gerar o identificador de chave de segurança fornecido no ski parâmetro.However, in order to enable custom scenarios, this constructor does not perform any validation on the clause types that were used to generate the security key identifier supplied in the ski parameter.

Aplica-se a