Sdílet prostřednictvím


SigningCredentials Konstruktory

Definice

Inicializuje novou instanci SigningCredentials třídy .

Přetížení

SigningCredentials(SecurityKey, String, String)

Inicializuje novou instanci SigningCredentials třídy .

SigningCredentials(SecurityKey, String, String, SecurityKeyIdentifier)

Inicializuje novou instanci SigningCredentials třídy .

SigningCredentials(SecurityKey, String, String)

Inicializuje novou instanci SigningCredentials třídy .

public:
 SigningCredentials(System::IdentityModel::Tokens::SecurityKey ^ signingKey, System::String ^ signatureAlgorithm, System::String ^ digestAlgorithm);
public SigningCredentials (System.IdentityModel.Tokens.SecurityKey signingKey, string signatureAlgorithm, string digestAlgorithm);
new System.IdentityModel.Tokens.SigningCredentials : System.IdentityModel.Tokens.SecurityKey * string * string -> System.IdentityModel.Tokens.SigningCredentials
Public Sub New (signingKey As SecurityKey, signatureAlgorithm As String, digestAlgorithm As String)

Parametry

signingKey
SecurityKey

A SecurityKey obsahující kryptografický klíč, který se používá k vygenerování digitálního podpisu.

signatureAlgorithm
String

Identifikátor URI, který představuje kryptografický algoritmus, který se používá k vygenerování digitálního podpisu.

digestAlgorithm
String

Identifikátor URI představující kryptografický algoritmus, který se používá k výpočtu hodnoty hash pro část zprávy SOAP, která má být digitálně podepsána.

Poznámky

SecurityAlgorithms Pomocí třídy zadejte signatureAlgorithm parametry a digestAlgorithm . Třída SecurityAlgorithms obsahuje sadu statických konstantních řetězců, které představují kryptografické algoritmy. Členy, které mají příponu Signature , lze použít k určení parametru signatureAlgorithm a členy, které mají příponu Digest , lze použít k určení parametru digestAlgorithm .

Platí pro

SigningCredentials(SecurityKey, String, String, SecurityKeyIdentifier)

Inicializuje novou instanci SigningCredentials třídy .

public:
 SigningCredentials(System::IdentityModel::Tokens::SecurityKey ^ signingKey, System::String ^ signatureAlgorithm, System::String ^ digestAlgorithm, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ signingKeyIdentifier);
public SigningCredentials (System.IdentityModel.Tokens.SecurityKey signingKey, string signatureAlgorithm, string digestAlgorithm, System.IdentityModel.Tokens.SecurityKeyIdentifier signingKeyIdentifier);
new System.IdentityModel.Tokens.SigningCredentials : System.IdentityModel.Tokens.SecurityKey * string * string * System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.IdentityModel.Tokens.SigningCredentials
Public Sub New (signingKey As SecurityKey, signatureAlgorithm As String, digestAlgorithm As String, signingKeyIdentifier As SecurityKeyIdentifier)

Parametry

signingKey
SecurityKey

A SecurityKey obsahující kryptografický klíč, který se používá k vygenerování digitálního podpisu.

signatureAlgorithm
String

Identifikátor URI, který představuje kryptografický algoritmus, který se používá k vygenerování digitálního podpisu.

digestAlgorithm
String

Identifikátor URI představující kryptografický algoritmus, který se používá k výpočtu hodnoty hash pro část zprávy SOAP, která má být digitálně podepsána.

signingKeyIdentifier
SecurityKeyIdentifier

A SecurityKeyIdentifier , který určuje identifikátor, který představuje klíč, který se používá k vytvoření digitálního podpisu.

Poznámky

SecurityAlgorithms Pomocí třídy zadejte signatureAlgorithm parametry a digestAlgorithm . Třída SecurityAlgorithms obsahuje sadu statických konstantních řetězců, které představují kryptografické algoritmy. Členy, které mají příponu Signature , lze použít k určení parametru signatureAlgorithm a členy, které mají příponu Digest , lze použít k určení parametru digestAlgorithm .

Platí pro