private static final byte SLOT_CHAL_HMAC1 = 0x30;
private static final byte SLOT_CHAL_HMAC2 = 0x38;
- public static final byte[] doChallengeYubiKey(IsoDep isoTag, int slot,
- byte[] challenge)
- throws CRException {
+ public static byte[] doChalResp(IsoDep isoTag, int slot,
+ byte[] challenge) throws CRException {
try {
isoTag.connect();
byte[] resp = isoTag.transceive(selectApdu);