public class TAResult extends Object
Constructor and Description |
---|
TAResult(CAResult caResult,
CVCPrincipal caReference,
List<CardVerifiableCertificate> terminalCertificates,
PrivateKey terminalKey,
String documentNumber,
byte[] cardChallenge)
Constructs a new terminal authentication result.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getCardChallenge()
Gets the card's challenge generated during EAC.
|
CVCPrincipal |
getCAReference()
Gets CA certificate's reference used during EAC.
|
CAResult |
getChipAuthenticationResult()
Gets 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.
|
String |
toString()
Gets a textual representation of this terminal authentication result.
|
public TAResult(CAResult 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 CAResult getChipAuthenticationResult()
public CVCPrincipal getCAReference()
public List<CardVerifiableCertificate> getCVCertificates()
public PrivateKey getTerminalKey()
public String getDocumentNumber()
public byte[] getCardChallenge()
Copyright © 2016. All rights reserved.