Click or drag to resize

CipherKeyUnwrap Method

Unwrap (decrypt) key material with a key-encryption key.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static byte[] KeyUnwrap(
	byte[] data,
	byte[] kek,
	CipherAlgorithm cipherAlg
)

Parameters

data  Byte
Wrapped key
kek  Byte
Key encryption key
cipherAlg  CipherAlgorithm
Block cipher to use for wrapping

Return Value

Byte
Unwrapped key material (or empty array on error)
See Also