Interface PreDecryptionValidator
- All Known Implementing Classes:
DefaultPreDecryptionValidator
public interface PreDecryptionValidator
Component which performs validation of encrypted types prior to decryption.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(EncryptedData encryptedData) Validate an instance ofEncryptedData.voidvalidate(EncryptedKey encryptedKey) Validate an instance ofEncryptedKey.
-
Method Details
-
validate
Validate an instance ofEncryptedData.- Parameters:
encryptedData- the target to validate- Throws:
PreDecryptionValidationException- if the target fails validation
-
validate
Validate an instance ofEncryptedKey.- Parameters:
encryptedKey- the target to validate- Throws:
PreDecryptionValidationException- if the target fails validation
-