de.willuhn.jameica.hbci.passports.rdh.keyformat
Class SizRdhDirectFormat

java.lang.Object
  extended by de.willuhn.jameica.hbci.passports.rdh.keyformat.AbstractSizRdhFormat
      extended by de.willuhn.jameica.hbci.passports.rdh.keyformat.SizRdhDirectFormat
All Implemented Interfaces:
KeyFormat

public class SizRdhDirectFormat
extends AbstractSizRdhFormat

Implementierung des Schluesselformats SizRDH, jedoch parallele Nutzung.


Field Summary
 
Fields inherited from class de.willuhn.jameica.hbci.passports.rdh.keyformat.AbstractSizRdhFormat
i18n
 
Fields inherited from interface de.willuhn.jameica.hbci.passports.rdh.keyformat.KeyFormat
FEATURE_CREATE, FEATURE_IMPORT
 
Constructor Summary
SizRdhDirectFormat()
           
 
Method Summary
 java.lang.String getName()
          Liefert einen sprechenden Namen des Formats.
 RDHKey importKey(java.io.File file)
          Importiert einen Schluessel.
 org.kapott.hbci.passport.HBCIPassport load(RDHKey key)
          Laedt einen Schluessel.
 
Methods inherited from class de.willuhn.jameica.hbci.passports.rdh.keyformat.AbstractSizRdhFormat
createKey, getRDHLib, hasFeature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SizRdhDirectFormat

public SizRdhDirectFormat()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: KeyFormat
Liefert einen sprechenden Namen des Formats.

Returns:
Sprechender Name.
See Also:
KeyFormat.getName()

importKey

public RDHKey importKey(java.io.File file)
                 throws de.willuhn.util.ApplicationException,
                        de.willuhn.jameica.system.OperationCanceledException
Description copied from interface: KeyFormat
Importiert einen Schluessel. Die Funktion soll nur ein RDHKey-Objekt erzeugen. Die Registrierung des Schluessels in Hibiscus uebernimmt der Aufrufer.

Parameters:
file - die Schluesseldatei.
Returns:
der importierte Schluessel.
Throws:
de.willuhn.util.ApplicationException - Fehler.
de.willuhn.jameica.system.OperationCanceledException - wenn der Import abgebrochen werden soll.
See Also:
KeyFormat.importKey(java.io.File)

load

public org.kapott.hbci.passport.HBCIPassport load(RDHKey key)
                                           throws de.willuhn.util.ApplicationException,
                                                  de.willuhn.jameica.system.OperationCanceledException
Description copied from interface: KeyFormat
Laedt einen Schluessel.

Parameters:
key - der Schluessel.
Returns:
HBCIPassport-Instanz des Schluessels.
Throws:
de.willuhn.util.ApplicationException
de.willuhn.jameica.system.OperationCanceledException
See Also:
KeyFormat.load(de.willuhn.jameica.hbci.passports.rdh.rmi.RDHKey)