public class AAResult extends Object implements Serializable
Constructor and Description |
---|
AAResult(PublicKey publicKey,
String digestAlgorithm,
String signatureAlgorithm,
byte[] challenge,
byte[] response)
The result of an Active Authentication protocol run.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getChallenge()
Returns the challenge that was initially used.
|
String |
getDigestAlgorithm()
Returns the digest algorithm used by the ICC.
|
PublicKey |
getPublicKey()
Returns the public key for verifying the result.
|
byte[] |
getResponse()
Returns the response that was sent back by the ICC.
|
String |
getSignatureAlgorithm()
Returns the signature algorithm used by the ICC.
|
int |
hashCode() |
String |
toString() |
public AAResult(PublicKey publicKey, String digestAlgorithm, String signatureAlgorithm, byte[] challenge, byte[] response)
publicKey
- the AA public key that was useddigestAlgorithm
- the digest algorithm that was usedsignatureAlgorithm
- the signature algorithm that was usedchallenge
- the challenge that was usedresponse
- the response that resultedpublic byte[] getChallenge()
public byte[] getResponse()
public PublicKey getPublicKey()
public String getDigestAlgorithm()
public String getSignatureAlgorithm()
Copyright © 2018. All rights reserved.