rfc3394Keyunwrap

Decrypt a key under a key encryption key using the algorithm described in RFC 3394

static if(BOTAN_HAS_RFC3394_KEYWRAP)
SecureVector!ubyte
rfc3394Keyunwrap
()
(
auto const ref SecureVector!ubyte key
,,)

Parameters

key SecureVector!ubyte

the encrypted key to decrypt

kek SymmetricKey

the key encryption key

af AlgorithmFactory

an algorithm factory

Return Value

Type: SecureVector!ubyte

key decrypted under kek

Meta