public interface EPPVerificationCodeValidator
EPPVerificationCode
instance using
server-specific policies. The implementing class should be thread-safe.Modifier and Type | Method and Description |
---|---|
boolean |
validate(EPPVerificationCode aVerificationCode,
java.lang.Object aData)
Validate the contents of a verification code using local server policy.
|
boolean validate(EPPVerificationCode aVerificationCode, java.lang.Object aData) throws EPPException
aVerificationCode
- Verification code to validateaData
- Optional extra server-specific data. Pass as null
if not needed.true
if the verification code is valid;
false
otherwise.EPPException
- Error executing the validation.