Class AwsKeyManagementService
java.lang.Object
ch.admin.bit.jeap.crypto.awskms.service.AwsKeyManagementService
- All Implemented Interfaces:
KeyManagementService
-
Constructor Summary
ConstructorsConstructorDescriptionAwsKeyManagementService(AwsKmsClient kmsClient, EscrowKeyConfig defaultEscrowKey, Map<KeyReference, EscrowKeyConfig> escrowKeys, EscrowEncryptionService escrowEncryptionService, CryptoMetricsService cryptoMetricsService) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]decryptDataKey(KeyReference wrappingKeyReference, EncryptedDataKey dataKey) getDataKey(KeyReference wrappingKeyReference)
-
Constructor Details
-
AwsKeyManagementService
public AwsKeyManagementService(AwsKmsClient kmsClient, EscrowKeyConfig defaultEscrowKey, Map<KeyReference, EscrowKeyConfig> escrowKeys, EscrowEncryptionService escrowEncryptionService, CryptoMetricsService cryptoMetricsService)
-
-
Method Details
-
getDataKey
- Specified by:
getDataKeyin interfaceKeyManagementService
-
decryptDataKey
- Specified by:
decryptDataKeyin interfaceKeyManagementService
-