AuthenticatedEncryptionResult(SecurityKey, Byte[], Byte[], Byte[]) Konstruktor
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 AuthenticatedEncryptionResult.
public AuthenticatedEncryptionResult(Microsoft.IdentityModel.Tokens.SecurityKey key, byte[] ciphertext, byte[] iv, byte[] authenticationTag);
new Microsoft.IdentityModel.Tokens.AuthenticatedEncryptionResult : Microsoft.IdentityModel.Tokens.SecurityKey * byte[] * byte[] * byte[] -> Microsoft.IdentityModel.Tokens.AuthenticatedEncryptionResult
Public Sub New (key As SecurityKey, ciphertext As Byte(), iv As Byte(), authenticationTag As Byte())
Parametry
- key
- SecurityKey
Używany SecurityKey podczas .Encrypt(Byte[], Byte[])
- ciphertext
- Byte[]
Zaszyfrowany tekst.
- iv
- Byte[]
Użyty wektor inicjowania.
- authenticationTag
- Byte[]
Tag uwierzytelniania, który został utworzony podczas encyption i wymaga Decrypt(Byte[], Byte[], Byte[], Byte[]).