public class EACTAResult extends Object implements Serializable
Constructor and Description |
---|
EACTAResult(EACCAResult caResult,
CVCPrincipal caReference,
List<CardVerifiableCertificate> terminalCertificates,
PrivateKey terminalKey,
String documentNumber,
byte[] cardChallenge)
Constructs a new terminal authentication result.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getCardChallenge()
Returns the card's challenge generated during EAC.
|
CVCPrincipal |
getCAReference()
Returns CA certificate's reference used during EAC-TA.
|
EACCAResult |
getChipAuthenticationResult()
Returns the chip authentication result.
|
List<CardVerifiableCertificate> |
getCVCertificates()
Returns the chain of card verifiable certificates that is to be used
for authenticating the PCD to the ICC.
|
String |
getDocumentNumber()
Returns the identifier of the card used during EAC.
|
PrivateKey |
getTerminalKey()
Returns the PCD's private key used during EAC.
|
int |
hashCode() |
String |
toString()
Returns a textual representation of this terminal authentication result.
|
public EACTAResult(EACCAResult caResult, CVCPrincipal caReference, List<CardVerifiableCertificate> terminalCertificates, PrivateKey terminalKey, String documentNumber, byte[] cardChallenge)
caResult
- the chip authentication resultcaReference
- the certificate authorityterminalCertificates
- terminal certificatesterminalKey
- the terminal's private keydocumentNumber
- the documentNumbercardChallenge
- the challengepublic EACCAResult getChipAuthenticationResult()
public CVCPrincipal getCAReference()
public List<CardVerifiableCertificate> getCVCertificates()
public PrivateKey getTerminalKey()
public String getDocumentNumber()
public byte[] getCardChallenge()
public String toString()
Copyright © 2019. All rights reserved.