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()
Gets the card's challenge generated during EAC.
|
CVCPrincipal |
getCAReference()
Gets CA certificate's reference used during EAC.
|
EACCAResult |
getChipAuthenticationResult()
Returns the chip authentication result.
|
List<CardVerifiableCertificate> |
getCVCertificates()
Gets the chain of CVCertificates used to authenticate the terminal to
the card.
|
String |
getDocumentNumber()
Gets the id of the card used during EAC.
|
PrivateKey |
getTerminalKey()
Gets the terminal 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 © 2018. All rights reserved.