public class ChipAuthenticationResult
extends java.lang.Object
Constructor and Description |
---|
ChipAuthenticationResult(java.math.BigInteger keyId,
java.security.PublicKey publicKey,
byte[] keyHash,
java.security.KeyPair keyPair)
Creates a result.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getKeyHash()
Gets the hash of the key.
|
java.math.BigInteger |
getKeyId()
Gets the ICC's public key identifier
|
java.security.KeyPair |
getKeyPair()
The ephemeral key pair resulting from chip authentication.
|
java.security.PublicKey |
getPublicKey()
Gets the ICC's public key that was used as input to chip authentication protocol
|
public ChipAuthenticationResult(java.math.BigInteger keyId, java.security.PublicKey publicKey, byte[] keyHash, java.security.KeyPair keyPair)
keyId
- the key identifier of the ICC's public key or -1publicKey
- the ICC's public keykeyHash
- the hash of the keykeyPair
- the key pairpublic java.math.BigInteger getKeyId()
public java.security.PublicKey getPublicKey()
public byte[] getKeyHash()
public java.security.KeyPair getKeyPair()