public class KeyWrapperContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
KeyWrapperContext.Builder |
Modifier and Type | Method and Description |
---|---|
static KeyWrapperContext.Builder |
builder() |
byte[] |
cekSecured()
the content encrypting key in wrapped or encrypted form; must not be null
|
ContentCryptoScheme |
contentCryptoScheme() |
Provider |
cryptoProvider() |
InternalKeyWrapAlgorithm |
internalKeyWrapAlgorithm()
key wrapping algorithm; or null if direct encryption instead of key wrapping is used
|
KMSKeyWrapperContext |
kmsKeyWrapperContext() |
EncryptionMaterials |
materials()
the client key encrypting key material for the content encrypting key
|
SecureRandom |
secureRandom() |
public static KeyWrapperContext.Builder builder()
public byte[] cekSecured()
public InternalKeyWrapAlgorithm internalKeyWrapAlgorithm()
public EncryptionMaterials materials()
public ContentCryptoScheme contentCryptoScheme()
public KMSKeyWrapperContext kmsKeyWrapperContext()
public Provider cryptoProvider()
public SecureRandom secureRandom()
Copyright © 2022. All rights reserved.