KeyFormat
RDH2Format
public class HBCI4JavaFormat extends java.lang.Object implements KeyFormat
FEATURE_CREATE, FEATURE_IMPORT
Constructor | Description |
---|---|
HBCI4JavaFormat() |
Modifier and Type | Method | Description |
---|---|---|
RDHKey |
createKey(java.io.File file) |
Erzeugt einen neuen Schluessel.
|
java.lang.String |
getName() |
Liefert einen sprechenden Namen des Formats.
|
boolean |
hasFeature(int feature) |
Prueft, ob das Format das angegebene Feature unterstuetzt.
|
RDHKey |
importKey(java.io.File file) |
Importiert einen Schluessel.
|
org.kapott.hbci.passport.HBCIPassport |
load(RDHKey key) |
Laedt einen Schluessel.
|
public java.lang.String getName()
KeyFormat
getName
in interface KeyFormat
KeyFormat.getName()
public boolean hasFeature(int feature)
KeyFormat
hasFeature
in interface KeyFormat
feature
- das geforderte Feature.KeyFormat.hasFeature(int)
public RDHKey importKey(java.io.File file) throws de.willuhn.util.ApplicationException, de.willuhn.jameica.system.OperationCanceledException
KeyFormat
importKey
in interface KeyFormat
file
- die Schluesseldatei.de.willuhn.util.ApplicationException
- Fehler.de.willuhn.jameica.system.OperationCanceledException
- wenn der Import abgebrochen werden soll.KeyFormat.importKey(java.io.File)
public RDHKey createKey(java.io.File file) throws de.willuhn.util.ApplicationException, de.willuhn.jameica.system.OperationCanceledException
KeyFormat
createKey
in interface KeyFormat
file
- Ziel-Datei, in der der Schluessel erzeugt werden soll.de.willuhn.util.ApplicationException
de.willuhn.jameica.system.OperationCanceledException
KeyFormat.createKey(java.io.File)
public org.kapott.hbci.passport.HBCIPassport load(RDHKey key) throws de.willuhn.util.ApplicationException, de.willuhn.jameica.system.OperationCanceledException
KeyFormat
load
in interface KeyFormat
key
- der Schluessel.de.willuhn.util.ApplicationException
de.willuhn.jameica.system.OperationCanceledException
KeyFormat.load(de.willuhn.jameica.hbci.passports.rdh.rmi.RDHKey)