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