public final class KMSKeyWrapper extends Object implements KeyWrapper
Modifier and Type | Class and Description |
---|---|
static class |
KMSKeyWrapper.Builder |
Modifier and Type | Method and Description |
---|---|
static KMSKeyWrapper.Builder |
builder() |
KMSEncryptionMaterials |
encryptionMaterials() |
KMSKeyWrapperContext |
kmsKeyWrapperContext() |
byte[] |
unwrapCek(byte[] encryptedCek,
Key key) |
byte[] |
wrapCek(byte[] plaintextCek,
Key key) |
public static KMSKeyWrapper.Builder builder()
public KMSEncryptionMaterials encryptionMaterials()
public KMSKeyWrapperContext kmsKeyWrapperContext()
public byte[] unwrapCek(byte[] encryptedCek, Key key)
unwrapCek
in interface KeyWrapper
public byte[] wrapCek(byte[] plaintextCek, Key key)
wrapCek
in interface KeyWrapper
Copyright © 2023. All rights reserved.