public class NameVerificationHandler extends EPPNameVerificationHandler
Constructor and Description |
---|
NameVerificationHandler()
Constructs an instance of IdnMapDomainHandler
|
Modifier and Type | Method and Description |
---|---|
protected EPPEventResponse |
doNameVerificationCheck(EPPEvent aEvent,
java.lang.Object aData)
Override base handler
doNameVerificationCheck method and add
handling of the Name Verification Check Command. |
protected EPPEventResponse |
doNameVerificationCreate(EPPEvent aEvent,
java.lang.Object aData)
Override base handler
doNameVerificationCreate method and
add handling of the Name Verification Create Command. |
protected EPPEventResponse |
doNameVerificationInfo(EPPEvent aEvent,
java.lang.Object aData)
Override base handler
doNameVerificationInfo method and add
handling of the Name Verification Info Command. |
protected EPPEventResponse |
doNameVerificationUpdate(EPPEvent aEvent,
java.lang.Object aData)
Override base handler
doNameVerificationUpdate method and
add handling of the Name Verification Update Command. |
static java.security.cert.PKIXParameters |
loadPKIXParameters(java.lang.String aTrustStoreName)
Loads the trust store file into the
PKIXParameters used to
verify the certificate chain The Java Trust Store is loaded with the
trusted VSP certificates. |
static java.security.PublicKey |
loadPublicKey(java.lang.String aKeyStoreName,
java.lang.String aPublicKeyAlias)
Loads the public key used to verify a digital signature signed with the
associated private key, loaded by
loadPrivateKeyEntry(String, String, String) . |
protected void |
preHandleEvent(EPPEvent aEvent,
java.lang.Object aData)
Do any pre-handling of commands.
|
getNamespace, handleEvent, postHandleEvent
public NameVerificationHandler()
public static java.security.PublicKey loadPublicKey(java.lang.String aKeyStoreName, java.lang.String aPublicKeyAlias) throws java.lang.Exception
loadPrivateKeyEntry(String, String, String)
.aKeyStoreName
- Java Keystore containing the certificateaPublicKeyAlias
- Java Keystore alias of the trustedCertEntry
containing the public keyPublicKey
instancejava.lang.Exception
- Error loading the public keypublic static java.security.cert.PKIXParameters loadPKIXParameters(java.lang.String aTrustStoreName) throws java.lang.Exception
PKIXParameters
used to
verify the certificate chain The Java Trust Store is loaded with the
trusted VSP certificates.aTrustStoreName
- Trust store file namePKIXParameters
instance.java.lang.Exception
- Error initializing the PKIX parametersprotected void preHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
preHandleEvent
in class EPPNameVerificationHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
NameVerificationHandler
This is assumed to be an
instance of SessionData here.EPPHandleEventException
- Thrown if an error condition occurs. It must contain an
EPPEventResponse
protected EPPEventResponse doNameVerificationCheck(EPPEvent aEvent, java.lang.Object aData)
doNameVerificationCheck
method and add
handling of the Name Verification Check Command.doNameVerificationCheck
in class EPPNameVerificationHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
NameVerificationHandler
protected EPPEventResponse doNameVerificationInfo(EPPEvent aEvent, java.lang.Object aData)
doNameVerificationInfo
method and add
handling of the Name Verification Info Command.doNameVerificationInfo
in class EPPNameVerificationHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
NameVerificationHandler
protected EPPEventResponse doNameVerificationCreate(EPPEvent aEvent, java.lang.Object aData)
doNameVerificationCreate
method and
add handling of the Name Verification Create Command.doNameVerificationCreate
in class EPPNameVerificationHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
NameVerificationHandler
protected EPPEventResponse doNameVerificationUpdate(EPPEvent aEvent, java.lang.Object aData)
doNameVerificationUpdate
method and
add handling of the Name Verification Update Command.doNameVerificationUpdate
in class EPPNameVerificationHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
NameVerificationHandler
Copyright © VeriSign Inc. All Rights Reserved.