Wrap Key
Wrapping a key enables secure transfer of the key from one place to another. CADP for Java KMIP provider wraps an NAEKey
object by encrypting it with a specified AES Symmetric Key.
To wrap a key:
Create a symmetric key and a symmetric wrapping key.
Register a normal AES symmetric key.
Register a symmetric wrapping key.
Get the encrypted key bytes of the key using Wrapping key. Use the
wrap()
method of theKMIPSession
API.