public class CAResult extends Object
Constructor and Description |
---|
CAResult(BigInteger keyId,
PublicKey publicKey,
byte[] keyHash,
KeyPair keyPair,
SecureMessagingWrapper wrapper)
Creates a result.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getKeyHash()
Gets the hash of the key.
|
BigInteger |
getKeyId()
Gets the ICC's public key identifier
|
KeyPair |
getKeyPair()
The ephemeral key pair resulting from chip authentication.
|
PublicKey |
getPublicKey()
Gets the ICC's public key that was used as input to chip authentication protocol
|
SecureMessagingWrapper |
getWrapper() |
public CAResult(BigInteger keyId, PublicKey publicKey, byte[] keyHash, KeyPair keyPair, SecureMessagingWrapper wrapper)
keyId
- the key identifier of the ICC's public key or -1publicKey
- the ICC's public keykeyHash
- the hash of the keykeyPair
- the key pairwrapper
- secure messaging wrapperpublic BigInteger getKeyId()
public PublicKey getPublicKey()
public SecureMessagingWrapper getWrapper()
public byte[] getKeyHash()
public KeyPair getKeyPair()
Copyright © 2016. All rights reserved.