CryptographyClient.IKeyEncryptionKey.WrapKey メソッド

定義

指定したアルゴリズムを使用して、指定したキーを暗号化します。

byte[] IKeyEncryptionKey.WrapKey (string algorithm, ReadOnlyMemory<byte> key, System.Threading.CancellationToken cancellationToken);
abstract member Azure.Core.Cryptography.IKeyEncryptionKey.WrapKey : string * ReadOnlyMemory<byte> * System.Threading.CancellationToken -> byte[]
override this.Azure.Core.Cryptography.IKeyEncryptionKey.WrapKey : string * ReadOnlyMemory<byte> * System.Threading.CancellationToken -> byte[]
Function WrapKey (algorithm As String, key As ReadOnlyMemory(Of Byte), cancellationToken As CancellationToken) As Byte() Implements IKeyEncryptionKey.WrapKey

パラメーター

algorithm
String

指定したキーの暗号化に使用されるキー ラップ アルゴリズム。

key
ReadOnlyMemory<Byte>

暗号化するキー。

cancellationToken
CancellationToken

CancellationToken要求の有効期間を制御する 。

戻り値

Byte[]

暗号化されたキー バイト。

実装

適用対象