次の方法で共有


AuthenticatedEncryptionResult(SecurityKey, Byte[], Byte[], Byte[]) Constructor

Definition

Initializes a new instance of the AuthenticatedEncryptionResult class.

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())

Parameters

ciphertext
Byte[]

The encrypted text.

iv
Byte[]

The initialization vector used.

authenticationTag
Byte[]

The authentication tag that was created during the encyption and needs Decrypt(Byte[], Byte[], Byte[], Byte[]).

Applies to