Udostępnij za pośrednictwem


EncryptingCredentials Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy EncryptingCredentials.

Przeciążenia

EncryptingCredentials()

Inicjuje nowe wystąpienie klasy EncryptingCredentials.

EncryptingCredentials(SecurityKey, SecurityKeyIdentifier, String)

Inicjuje EncryptingCredentials nowe wystąpienie klasy przy użyciu określonego klucza kryptograficznego, identyfikatora klucza i algorytmu szyfrowania.

EncryptingCredentials()

Inicjuje nowe wystąpienie klasy EncryptingCredentials.

public:
 EncryptingCredentials();
public EncryptingCredentials ();
Public Sub New ()

Dotyczy

EncryptingCredentials(SecurityKey, SecurityKeyIdentifier, String)

Inicjuje EncryptingCredentials nowe wystąpienie klasy przy użyciu określonego klucza kryptograficznego, identyfikatora klucza i algorytmu szyfrowania.

public:
 EncryptingCredentials(System::IdentityModel::Tokens::SecurityKey ^ key, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ keyIdentifier, System::String ^ algorithm);
public EncryptingCredentials (System.IdentityModel.Tokens.SecurityKey key, System.IdentityModel.Tokens.SecurityKeyIdentifier keyIdentifier, string algorithm);
new System.IdentityModel.Tokens.EncryptingCredentials : System.IdentityModel.Tokens.SecurityKey * System.IdentityModel.Tokens.SecurityKeyIdentifier * string -> System.IdentityModel.Tokens.EncryptingCredentials
Public Sub New (key As SecurityKey, keyIdentifier As SecurityKeyIdentifier, algorithm As String)

Parametry

key
SecurityKey

Element SecurityKey zawierający klucz kryptograficzny używany do szyfrowania.

keyIdentifier
SecurityKeyIdentifier

Element SecurityKeyIdentifier określający identyfikator reprezentujący klucz używany do szyfrowania.

algorithm
String

Identyfikator URI reprezentujący algorytm kryptograficzny używany do szyfrowania.

Wyjątki

key to null.

-lub-

keyIdentifier to null.

-lub-

algorithm to null.

Dotyczy