public class TrustAnchorVerificationCodeValidator extends java.lang.Object implements EPPVerificationCodeValidator
TrustAnchorVerificationData
.Constructor and Description |
---|
TrustAnchorVerificationCodeValidator(java.security.KeyStore aTrustStore)
Constructor of
TrustAnchorVerificationCodeValidator that
takes the trust store containing the verification code trust anchors with
the aliases encoding according to the format defined in
TrustAnchorVerificationData . |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(EPPVerificationCode aVerificationCode,
java.lang.Object aData)
Validate the contents of a verification code using the trust anchor of
the signed code to look up the trust store alias, and then using the
trust store alias to apply the validation logic for the verification
code.
|
public TrustAnchorVerificationCodeValidator(java.security.KeyStore aTrustStore)
TrustAnchorVerificationCodeValidator
that
takes the trust store containing the verification code trust anchors with
the aliases encoding according to the format defined in
TrustAnchorVerificationData
.aTrustStore
- Trust store to lookup the trust anchor alias to apply the
policy.public boolean validate(EPPVerificationCode aVerificationCode, java.lang.Object aData) throws EPPException
validate
in interface EPPVerificationCodeValidator
aVerificationCode
- Verification code to validateaData
- Must be the TrustAnchor
of the EPPSignedCode
.true
if the verification code is valid;
false
otherwise.EPPException
- Error executing the validation.Copyright © VeriSign Inc. All Rights Reserved.