Compartir a través de


IKey.WrapKeyAsync Método

Definición

Ajusta una clave simétrica mediante el algoritmo especificado.

public System.Threading.Tasks.Task<byte[]> WrapKeyAsync (Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeyEncryptionAlgorithm algorithm, byte[] key, System.Threading.CancellationToken cancellationToken = default);
abstract member WrapKeyAsync : Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeyEncryptionAlgorithm * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Function WrapKeyAsync (algorithm As JsonWebKeyEncryptionAlgorithm, key As Byte(), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Byte())

Parámetros

algorithm
JsonWebKeyEncryptionAlgorithm

Algoritmo de cifrado JWK.

key
Byte[]

Clave simétrica que se va a encapsular.

cancellationToken
CancellationToken

Devoluciones

Task<Byte[]>

Se aplica a