public class PACEGMWithDHMappingResult extends PACEGMMappingResult
Constructor and Description |
---|
PACEGMWithDHMappingResult(AlgorithmParameterSpec staticParameters,
byte[] piccNonce,
PublicKey piccMappingPublicKey,
KeyPair pcdMappingKeyPair,
byte[] sharedSecret,
AlgorithmParameterSpec ephemeralParameters)
Constructs a result.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getSharedSecret()
Returns the shared secret that was derived during this protocol step.
|
int |
hashCode() |
getPCDMappingKeyPair, getPICCMappingPublicKey
getEphemeralParameters, getPICCNonce, getStaticParameters
public PACEGMWithDHMappingResult(AlgorithmParameterSpec staticParameters, byte[] piccNonce, PublicKey piccMappingPublicKey, KeyPair pcdMappingKeyPair, byte[] sharedSecret, AlgorithmParameterSpec ephemeralParameters)
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 PCDsharedSecret
- the shared secret that was derivedephemeralParameters
- the ephemeral parameters that were derivedpublic byte[] getSharedSecret()
public int hashCode()
hashCode
in class PACEGMMappingResult
public boolean equals(Object obj)
equals
in class PACEGMMappingResult
Copyright © 2020. All rights reserved.