public class CAResult extends Object implements Serializable
Constructor and Description |
---|
CAResult(BigInteger keyId,
PublicKey piccPublicKey,
byte[] keyHash,
PublicKey pcdPublicKey,
PrivateKey pcdPrivateKey,
SecureMessagingWrapper wrapper)
Creates a result.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getKeyHash()
Gets the hash of the ephemeral public key of the terminal.
|
BigInteger |
getKeyId()
Gets the ICC's public key identifier
|
PrivateKey |
getPCDPrivateKey()
The ephemeral private key of the terminal that was used in the key exchange.
|
PublicKey |
getPCDPublicKey()
The ephemeral public key of the terminal that was used in the key exchange.
|
PublicKey |
getPublicKey()
Gets the ICC's public key that was used as input to chip authentication protocol
|
SecureMessagingWrapper |
getWrapper() |
int |
hashCode() |
String |
toString() |
public CAResult(BigInteger keyId, PublicKey piccPublicKey, byte[] keyHash, PublicKey pcdPublicKey, PrivateKey pcdPrivateKey, SecureMessagingWrapper wrapper)
keyId
- the key identifier of the ICC's public key or null
piccPublicKey
- the ICC's public keykeyHash
- the hash of the PCD's public keypcdPublicKey
- the public key of the terminalpcdPrivateKey
- the private key of the terminalwrapper
- secure messaging wrapperpublic BigInteger getKeyId()
public PublicKey getPublicKey()
public SecureMessagingWrapper getWrapper()
public byte[] getKeyHash()
public PublicKey getPCDPublicKey()
public PrivateKey getPCDPrivateKey()
Copyright © 2017. All rights reserved.