Interface KeyWrapper
public interface KeyWrapper
Manages the encryption keys used for encrypting and decrypting data at rest.
-
Method Summary
Modifier and TypeMethodDescriptionRe-wraps the given wrapped data encryption key (WDEK).CompletableFuture<byte[]> Unwraps the given wrapped data encryption key (WDEK) using the key management service.Wraps the given data encryption key (DEK) using the key management service.
-
Method Details
-
wrap
Wraps the given data encryption key (DEK) using the key management service.- Parameters:
dek- the data encryption key to be wrapped.kekId- the key encryption key (KEK) identifier to be used for wrapping.
-
unwrap
Unwraps the given wrapped data encryption key (WDEK) using the key management service. -
rewrap
Re-wraps the given wrapped data encryption key (WDEK).
-