Interface EPPVerificationCodeValidator
- All Known Implementing Classes:
TrustAnchorVerificationCodeValidator
public interface EPPVerificationCodeValidator
Validates a verification code. A implementing class can define different
mechanisms for verifying the
EPPVerificationCode instance using
server-specific policies. The implementing class should be thread-safe.-
Method Summary
Modifier and TypeMethodDescriptionbooleanvalidate(EPPVerificationCode aVerificationCode, Object aData) Validate the contents of a verification code using local server policy.
-
Method Details
-
validate
Validate the contents of a verification code using local server policy. For example, the code value and the type can be verified against the user's profile or against the matching trust anchor certificate. Many mechanisms can be created.- Parameters:
aVerificationCode- Verification code to validateaData- Optional extra server-specific data. Pass asnullif not needed.- Returns:
trueif the verification code is valid;falseotherwise.- Throws:
EPPException- Error executing the validation.
-