DDVCardService
, RSACardService
public abstract class HBCICardService
extends java.lang.Object
Constructor | Description |
---|---|
HBCICardService() |
Modifier and Type | Method | Description |
---|---|---|
protected byte[] |
createPINVerificationDataStructure(int pwdId) |
Erzeugt das PIN-Check-Kommando.
|
protected byte[] |
expand(java.lang.String st,
int len) |
Fuellt den String rechtsbuendig mit Leerzeichen auf die angegebene Laenge.
|
protected byte[] |
getChallenge() |
|
java.util.Map<java.lang.Byte,java.lang.Integer> |
getFeatures() |
|
protected byte[] |
getKeyInfo(int idx) |
|
void |
init(Card card) |
Initialisiert den Service mit der angegebenen Karte.
|
protected byte[] |
internalAuthenticate(int keynum,
byte[] challenge) |
|
protected void |
putData(int tag,
byte[] data) |
|
protected byte[] |
readRecord(int idx) |
|
protected byte[] |
readRecordBySFI(int sfi,
int idx) |
|
protected void |
selectSubFile(int id) |
|
protected void |
updateRecordBySFI(int sfi,
int idx,
byte[] data) |
|
void |
verifyHardPIN(int pwdId) |
Prueft die PIN via Kartenleser.
|
void |
verifySoftPIN(int pwdId,
byte[] softPin) |
Prueft die PIN via Software.
|
protected void |
writeRecordBySFI(int sfi,
int idx,
byte[] data) |
public void init(Card card)
card
- die Karte.public java.util.Map<java.lang.Byte,java.lang.Integer> getFeatures()
public void verifyHardPIN(int pwdId)
pwdId
- PIN-ID.public void verifySoftPIN(int pwdId, byte[] softPin)
pwdId
- die PIN-ID.softPin
- die PIN.protected void writeRecordBySFI(int sfi, int idx, byte[] data)
protected void updateRecordBySFI(int sfi, int idx, byte[] data)
protected byte[] readRecordBySFI(int sfi, int idx)
protected byte[] readRecord(int idx)
protected void selectSubFile(int id)
protected byte[] getKeyInfo(int idx)
protected void putData(int tag, byte[] data)
protected byte[] getChallenge()
protected byte[] internalAuthenticate(int keynum, byte[] challenge)
protected byte[] expand(java.lang.String st, int len)
st
- der String.len
- die Gesamtlaenge.protected byte[] createPINVerificationDataStructure(int pwdId) throws java.io.IOException
java.io.IOException
Copyright © 2018. All rights reserved.