public class TerminalAuthenticationResult
extends java.lang.Object
Constructor and Description |
---|
TerminalAuthenticationResult(ChipAuthenticationResult chipAuthenticationResult,
CVCPrincipal caReference,
java.util.List<CardVerifiableCertificate> terminalCertificates,
java.security.PrivateKey terminalKey,
java.lang.String documentNumber,
byte[] cardChallenge)
Constructs a new event.
|
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.
|
ChipAuthenticationResult |
getChipAuthenticationResult()
Gets the chip authentication result;
|
java.util.List<CardVerifiableCertificate> |
getCVCertificates()
Gets the chain of CVCertificates used to authenticate the terminal to
the card.
|
java.lang.String |
getDocumentNumber()
Gets the id of the card used during EAC.
|
java.security.PrivateKey |
getTerminalKey()
Gets the terminal private key used during EAC.
|
java.lang.String |
toString() |
public TerminalAuthenticationResult(ChipAuthenticationResult chipAuthenticationResult, CVCPrincipal caReference, java.util.List<CardVerifiableCertificate> terminalCertificates, java.security.PrivateKey terminalKey, java.lang.String documentNumber, byte[] cardChallenge)
chipAuthenticationResult
- the chip authentication resultcaReference
- the CAterminalCertificates
- terminal certificatesterminalKey
- the terminal's private keydocumentNumber
- the documentNumbercardChallenge
- the challengepublic ChipAuthenticationResult getChipAuthenticationResult()
public CVCPrincipal getCAReference()
public java.util.List<CardVerifiableCertificate> getCVCertificates()
public java.security.PrivateKey getTerminalKey()
public java.lang.String getDocumentNumber()
public byte[] getCardChallenge()
public java.lang.String toString()
toString
in class java.lang.Object