Package org.jmrtd.protocol
Class PACEGMWithECDHMappingResult
- java.lang.Object
-
- org.jmrtd.protocol.PACEMappingResult
-
- org.jmrtd.protocol.PACEGMMappingResult
-
- org.jmrtd.protocol.PACEGMWithECDHMappingResult
-
- All Implemented Interfaces:
Serializable
public class PACEGMWithECDHMappingResult extends PACEGMMappingResult
The result of the PACE nonce mapping step in Generic Mapping with Elliptic Curve Diffie-Hellman setting.- Version:
- $Revision: $
- Author:
- The JMRTD team ([email protected])
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PACEGMWithECDHMappingResult(AlgorithmParameterSpec staticParameters, byte[] piccNonce, PublicKey piccMappingPublicKey, KeyPair pcdMappingKeyPair, ECPoint sharedSecretPoint, AlgorithmParameterSpec ephemeralParameters)
Constructs a result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ECPoint
getSharedSecretPoint()
Returns the shared secret point that was derived during this step.int
hashCode()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.jmrtd.protocol.PACEGMMappingResult
getPCDMappingKeyPair, getPICCMappingPublicKey
-
Methods inherited from class org.jmrtd.protocol.PACEMappingResult
getEphemeralParameters, getPICCNonce, getStaticParameters
-
-
-
-
Constructor Detail
-
PACEGMWithECDHMappingResult
public PACEGMWithECDHMappingResult(AlgorithmParameterSpec staticParameters, byte[] piccNonce, PublicKey piccMappingPublicKey, KeyPair pcdMappingKeyPair, ECPoint sharedSecretPoint, AlgorithmParameterSpec ephemeralParameters)
Constructs a result.- Parameters:
staticParameters
- the static parameterspiccNonce
- the nonce that was sent by the PICCpiccMappingPublicKey
- the mapping public key sent by the PICCpcdMappingKeyPair
- the key-pair generated by the PCDsharedSecretPoint
- the shared secret that was derivedephemeralParameters
- the ephemeral parameters that were derived
-
-
Method Detail
-
getSharedSecretPoint
public ECPoint getSharedSecretPoint()
Returns the shared secret point that was derived during this step.- Returns:
- the shared secret point that was derived
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPACEGMMappingResult
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classPACEGMMappingResult
-
-