EncryptedKeyIdentifierClause Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy EncryptedKeyIdentifierClause.
Przeciążenia
| Nazwa | Opis |
|---|---|
| EncryptedKeyIdentifierClause(Byte[], String) |
Inicjuje nowe wystąpienie EncryptedKeyIdentifierClause klasy przy użyciu określonego klucza szyfrowanego i algorytmu kryptograficznego używanego do szyfrowania klucza. |
| EncryptedKeyIdentifierClause(Byte[], String, SecurityKeyIdentifier) |
Inicjuje nowe wystąpienie EncryptedKeyIdentifierClause klasy przy użyciu określonego klucza, który jest zaszyfrowany, algorytm kryptograficzny używany do szyfrowania klucza i identyfikator klucza dla klucza szyfrowania. |
| EncryptedKeyIdentifierClause(Byte[], String, SecurityKeyIdentifier, String) |
Inicjuje nowe wystąpienie EncryptedKeyIdentifierClause klasy przy użyciu określonego klucza szyfrowanego, algorytmu kryptograficznego używanego do szyfrowania klucza, identyfikatora klucza dla klucza szyfrowania i nazwy możliwej do odczytania przez użytkownika. |
| EncryptedKeyIdentifierClause(Byte[], String, SecurityKeyIdentifier, String, Byte[], Int32) |
Inicjuje nowe wystąpienie EncryptedKeyIdentifierClause klasy przy użyciu określonego klucza szyfrowanego, algorytmu kryptograficznego używanego do szyfrowania klucza, identyfikatora klucza dla klucza i nazwy możliwej do odczytania przez użytkownika. |
EncryptedKeyIdentifierClause(Byte[], String)
Inicjuje nowe wystąpienie EncryptedKeyIdentifierClause klasy przy użyciu określonego klucza szyfrowanego i algorytmu kryptograficznego używanego do szyfrowania klucza.
public:
EncryptedKeyIdentifierClause(cli::array <System::Byte> ^ encryptedKey, System::String ^ encryptionMethod);
public EncryptedKeyIdentifierClause(byte[] encryptedKey, string encryptionMethod);
new System.IdentityModel.Tokens.EncryptedKeyIdentifierClause : byte[] * string -> System.IdentityModel.Tokens.EncryptedKeyIdentifierClause
Public Sub New (encryptedKey As Byte(), encryptionMethod As String)
Parametry
- encryptedKey
- Byte[]
Tablica zawierająca Byte zaszyfrowany klucz. Ustawia wartość zwracaną z GetEncryptedKey() metody .
- encryptionMethod
- String
Algorytm kryptograficzny używany do szyfrowania klucza. Ustawia wartość EncryptionMethod właściwości.
Wyjątki
Parametr encryptionMethod ma wartość null.
— lub —
Parametr encryptedKey ma wartość null.
encryptedKey jest zerową długością.
Uwagi
Użyj statycznych ciągów stałych w elemecie SecurityAlgorithms , aby określić algorytm kryptograficzny parametru encryptionMethod .
Dotyczy
EncryptedKeyIdentifierClause(Byte[], String, SecurityKeyIdentifier)
Inicjuje nowe wystąpienie EncryptedKeyIdentifierClause klasy przy użyciu określonego klucza, który jest zaszyfrowany, algorytm kryptograficzny używany do szyfrowania klucza i identyfikator klucza dla klucza szyfrowania.
public:
EncryptedKeyIdentifierClause(cli::array <System::Byte> ^ encryptedKey, System::String ^ encryptionMethod, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ encryptingKeyIdentifier);
public EncryptedKeyIdentifierClause(byte[] encryptedKey, string encryptionMethod, System.IdentityModel.Tokens.SecurityKeyIdentifier encryptingKeyIdentifier);
new System.IdentityModel.Tokens.EncryptedKeyIdentifierClause : byte[] * string * System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.IdentityModel.Tokens.EncryptedKeyIdentifierClause
Public Sub New (encryptedKey As Byte(), encryptionMethod As String, encryptingKeyIdentifier As SecurityKeyIdentifier)
Parametry
- encryptedKey
- Byte[]
Tablica zawierająca Byte zaszyfrowany klucz. Ustawia wartość zwracaną z GetEncryptedKey() metody .
- encryptionMethod
- String
Algorytm kryptograficzny używany do szyfrowania klucza. Ustawia wartość EncryptionMethod właściwości.
- encryptingKeyIdentifier
- SecurityKeyIdentifier
Element SecurityKeyIdentifier reprezentujący identyfikator klucza dla klucza szyfrowania określony w parametrze encryptedKey . Ustawia wartość EncryptingKeyIdentifier właściwości.
Wyjątki
Parametr encryptionMethod ma wartość null.
— lub —
Parametr encryptedKey ma wartość null.
encryptedKey jest zerową długością.
Uwagi
Użyj statycznych ciągów stałych w elemecie SecurityAlgorithms , aby określić algorytm kryptograficzny parametru encryptionMethod .
Dotyczy
EncryptedKeyIdentifierClause(Byte[], String, SecurityKeyIdentifier, String)
Inicjuje nowe wystąpienie EncryptedKeyIdentifierClause klasy przy użyciu określonego klucza szyfrowanego, algorytmu kryptograficznego używanego do szyfrowania klucza, identyfikatora klucza dla klucza szyfrowania i nazwy możliwej do odczytania przez użytkownika.
public:
EncryptedKeyIdentifierClause(cli::array <System::Byte> ^ encryptedKey, System::String ^ encryptionMethod, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ encryptingKeyIdentifier, System::String ^ carriedKeyName);
public EncryptedKeyIdentifierClause(byte[] encryptedKey, string encryptionMethod, System.IdentityModel.Tokens.SecurityKeyIdentifier encryptingKeyIdentifier, string carriedKeyName);
new System.IdentityModel.Tokens.EncryptedKeyIdentifierClause : byte[] * string * System.IdentityModel.Tokens.SecurityKeyIdentifier * string -> System.IdentityModel.Tokens.EncryptedKeyIdentifierClause
Public Sub New (encryptedKey As Byte(), encryptionMethod As String, encryptingKeyIdentifier As SecurityKeyIdentifier, carriedKeyName As String)
Parametry
- encryptedKey
- Byte[]
Tablica zawierająca Byte zaszyfrowany klucz. Ustawia wartość zwracaną z GetEncryptedKey() metody .
- encryptionMethod
- String
Algorytm kryptograficzny używany do szyfrowania klucza. Ustawia wartość EncryptionMethod właściwości.
- encryptingKeyIdentifier
- SecurityKeyIdentifier
Element SecurityKeyIdentifier reprezentujący identyfikator klucza dla klucza szyfrowania określony w parametrze encryptedKey . Ustawia wartość EncryptingKeyIdentifier właściwości.
- carriedKeyName
- String
Nazwa czytelna dla użytkownika skojarzona z kluczem określonym w parametrze encryptedKey . Ustawia wartość CarriedKeyName właściwości.
Wyjątki
Parametr encryptionMethod ma wartość null.
— lub —
Parametr encryptedKey ma wartość null.
encryptedKey jest zerową długością.
Uwagi
Użyj statycznych ciągów stałych w elemecie SecurityAlgorithms , aby określić algorytm kryptograficzny parametru encryptionMethod .
Dotyczy
EncryptedKeyIdentifierClause(Byte[], String, SecurityKeyIdentifier, String, Byte[], Int32)
Inicjuje nowe wystąpienie EncryptedKeyIdentifierClause klasy przy użyciu określonego klucza szyfrowanego, algorytmu kryptograficznego używanego do szyfrowania klucza, identyfikatora klucza dla klucza i nazwy możliwej do odczytania przez użytkownika.
public:
EncryptedKeyIdentifierClause(cli::array <System::Byte> ^ encryptedKey, System::String ^ encryptionMethod, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ encryptingKeyIdentifier, System::String ^ carriedKeyName, cli::array <System::Byte> ^ derivationNonce, int derivationLength);
public EncryptedKeyIdentifierClause(byte[] encryptedKey, string encryptionMethod, System.IdentityModel.Tokens.SecurityKeyIdentifier encryptingKeyIdentifier, string carriedKeyName, byte[] derivationNonce, int derivationLength);
new System.IdentityModel.Tokens.EncryptedKeyIdentifierClause : byte[] * string * System.IdentityModel.Tokens.SecurityKeyIdentifier * string * byte[] * int -> System.IdentityModel.Tokens.EncryptedKeyIdentifierClause
Public Sub New (encryptedKey As Byte(), encryptionMethod As String, encryptingKeyIdentifier As SecurityKeyIdentifier, carriedKeyName As String, derivationNonce As Byte(), derivationLength As Integer)
Parametry
- encryptedKey
- Byte[]
Tablica zawierająca Byte zaszyfrowany klucz. Ustawia wartość zwracaną z GetEncryptedKey() metody .
- encryptionMethod
- String
Algorytm kryptograficzny używany do szyfrowania klucza. Ustawia wartość EncryptionMethod właściwości.
- encryptingKeyIdentifier
- SecurityKeyIdentifier
Element SecurityKeyIdentifier reprezentujący identyfikator klucza dla klucza określonego w parametrze encryptedKey . Ustawia wartość EncryptingKeyIdentifier właściwości.
- carriedKeyName
- String
Nazwa czytelna dla użytkownika skojarzona z kluczem określonym w parametrze encryptedKey . Ustawia wartość CarriedKeyName właściwości.
- derivationNonce
- Byte[]
Tablica zawierająca Byte wartość inną niż użyta do utworzenia klucza pochodnego. Ustawia wartość zwracaną przez metodę GetDerivationNonce() .
- derivationLength
- Int32
Rozmiar klucza pochodnego. Ustawia wartość DerivationLength właściwości.
Wyjątki
Parametr encryptionMethod ma wartość null.
— lub —
Parametr encryptedKey ma wartość null.
encryptedKey jest zerową długością.
Uwagi
Po określeniu derivationNonce parametrów i derivationLength używany jest dorozumiany klucz pochodny zamiast bezpośredniego klucza zabezpieczeń tokenu.
Użyj statycznych ciągów stałych w elemecie SecurityAlgorithms , aby określić algorytm kryptograficzny parametru encryptionMethod .