Package com.adobe.testing.s3mock.domain
Class KmsKeyStore
- java.lang.Object
-
- com.adobe.testing.s3mock.domain.KmsKeyStore
-
public class KmsKeyStore extends java.lang.ObjectStores valid KMS key references for theS3MockApplication.
-
-
Constructor Summary
Constructors Constructor Description KmsKeyStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidregisterKMSKeyRef(java.lang.String validKeyRef)Register a valid KMS Key reference.booleanvalidateKeyRef(java.lang.String keyRef)Validate if the KMS key reference is valid.
-
-
-
Method Detail
-
registerKMSKeyRef
public void registerKMSKeyRef(java.lang.String validKeyRef)
Register a valid KMS Key reference.- Parameters:
validKeyRef- A KMS Key reference.
-
validateKeyRef
public boolean validateKeyRef(java.lang.String keyRef)
Validate if the KMS key reference is valid.- Parameters:
keyRef- A KMS Key reference.- Returns:
- Returns true if the key is valid for this Mock instance.
-
-