Interface PreDecryptionValidator
-
- All Known Implementing Classes:
DefaultPreDecryptionValidator
public interface PreDecryptionValidatorComponent which performs validation of encrypted types prior to decryption.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(EncryptedData encryptedData)Validate an instance ofEncryptedData.voidvalidate(EncryptedKey encryptedKey)Validate an instance ofEncryptedKey.
-
-
-
Method Detail
-
validate
void validate(@Nonnull EncryptedData encryptedData) throws PreDecryptionValidationExceptionValidate an instance ofEncryptedData.- Parameters:
encryptedData- the target to validate- Throws:
PreDecryptionValidationException- if the target fails validation
-
validate
void validate(@Nonnull EncryptedKey encryptedKey) throws PreDecryptionValidationExceptionValidate an instance ofEncryptedKey.- Parameters:
encryptedKey- the target to validate- Throws:
PreDecryptionValidationException- if the target fails validation
-
-