public class TAProtocol extends Object
Constructor and Description |
---|
TAProtocol(PassportService service,
SecureMessagingWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
TAResult |
doTA(CVCPrincipal caReference,
List<CardVerifiableCertificate> terminalCertificates,
PrivateKey terminalKey,
String taAlg,
CAResult chipAuthenticationResult,
String documentNumber)
Perform TA (Terminal Authentication) part of EAC (version 1).
|
public TAProtocol(PassportService service, SecureMessagingWrapper wrapper)
public TAResult doTA(CVCPrincipal caReference, List<CardVerifiableCertificate> terminalCertificates, PrivateKey terminalKey, String taAlg, CAResult chipAuthenticationResult, String documentNumber) throws net.sf.scuba.smartcards.CardServiceException
caReference
- reference issuerterminalCertificates
- terminal certificate chainterminalKey
- terminal private keytaAlg
- algorithmchipAuthenticationResult
- the chip authentication resultdocumentNumber
- the document numbernet.sf.scuba.smartcards.CardServiceException
- on errorCopyright © 2016. All rights reserved.