Compartir a través de


KeyVaultKeyWrapProvider.WrapKey(Byte[]) Method

Definition

Wrap a key.

public override byte[] WrapKey (byte[] keyBytes);
override this.WrapKey : byte[] -> byte[]
Public Overrides Function WrapKey (keyBytes As Byte()) As Byte()

Parameters

keyBytes
Byte[]

the key to be wrapped

Returns

Byte[]

wrapped key.

Exceptions

if keyBytes.Length == 0.

Applies to