public interface APDULevelEACTACapable
Modifier and Type | Method and Description |
---|---|
byte[] |
sendGetChallenge(APDUWrapper wrapper)
Sends a
GET CHALLENGE command to the passport. |
void |
sendMSESetATExtAuth(APDUWrapper wrapper,
byte[] data)
The MSE Set AT APDU for TA, see EAC 1.11 spec, Section B.2.
|
void |
sendMSESetDST(APDUWrapper wrapper,
byte[] data)
The MSE DST APDU, see EAC 1.11 spec, Section B.2.
|
void |
sendMutualAuthenticate(APDUWrapper wrapper,
byte[] signature)
Sends the EXTERNAL AUTHENTICATE command.
|
void |
sendPSOExtendedLengthMode(APDUWrapper wrapper,
byte[] certBodyData,
byte[] certSignatureData)
Sends a perform security operation command in extended length mode.
|
void sendMSESetDST(APDUWrapper wrapper, byte[] data) throws CardServiceException
wrapper
- secure messaging wrapperdata
- public key reference data object (tag 0x83)CardServiceException
- on errorvoid sendPSOExtendedLengthMode(APDUWrapper wrapper, byte[] certBodyData, byte[] certSignatureData) throws CardServiceException
wrapper
- secure messaging wrappercertBodyData
- the certificate bodycertSignatureData
- signature dataCardServiceException
- on error communicating over the servicevoid sendMSESetATExtAuth(APDUWrapper wrapper, byte[] data) throws CardServiceException
wrapper
- secure messaging wrapperdata
- public key reference data object (should already be prefixed with tag 0x83)CardServiceException
- on errorbyte[] sendGetChallenge(APDUWrapper wrapper) throws CardServiceException
GET CHALLENGE
command to the passport.wrapper
- secure messaging wrapperCardServiceException
- on tranceive errorvoid sendMutualAuthenticate(APDUWrapper wrapper, byte[] signature) throws CardServiceException
wrapper
- secure messaging wrappersignature
- terminal signatureCardServiceException
- if the resulting status word different from 9000Copyright © 2018. All rights reserved.