public class CryptoServiceConfig
extends java.lang.Object
CryptoService
.
Receives the in-memory representation of a properties file and extracts parameters that are specifically
required for CryptoService
and presents them for retrieval through defined APIs.Modifier and Type | Field and Description |
---|---|
java.lang.String |
cryptoServiceEncryptionDecryptionMode
The mode to encrypt or decrypt.
|
int |
cryptoServiceIvSizeInBytes
The iv size that the CryptoService will populate on
CryptoService.encrypt(ByteBuffer, Object) |
Constructor and Description |
---|
CryptoServiceConfig(VerifiableProperties verifiableProperties) |
@Config(value="crypto.service.encryption.decryption.mode") @Default(value="GCM") public final java.lang.String cryptoServiceEncryptionDecryptionMode
KeyManagementService
implementation@Config(value="crypto.service.iv.size.in.bytes") @Default(value="12") public final int cryptoServiceIvSizeInBytes
CryptoService.encrypt(ByteBuffer, Object)
public CryptoServiceConfig(VerifiableProperties verifiableProperties)