Package org.kapott.hbci.manager
Class HBCIInstitute
- java.lang.Object
-
- org.kapott.hbci.manager.HBCIInstitute
-
- All Implemented Interfaces:
IHandlerData
public final class HBCIInstitute extends java.lang.Object implements IHandlerData
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
BPD_KEY_HBCIVERSION
private static java.lang.String
BPD_KEY_LASTUPDATE
private HBCIKernelImpl
kernel
private HBCIPassportInternal
passport
-
Constructor Summary
Constructors Constructor Description HBCIInstitute(HBCIKernelImpl kernel, HBCIPassportInternal passport, boolean forceAsParent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
acknowledgeNewKeys()
(package private) void
extractKeys(java.util.Properties result)
gets the server public keys from the result and store them in the passportvoid
fetchBPD()
Aktualisiert die BPD bei Bedarf.void
fetchKeys()
MsgGen
getMsgGen()
HBCIPassport
getPassport()
private boolean
isBPDExpired()
Prueft, ob die BPD abgelaufen sind und neu geladen werden muessen.void
register()
void
sync(boolean force)
Fuehrt eine Neu-Synchronisierung durch.(package private) void
updateBPD(java.util.Properties result)
gets the BPD out of the result and store it in the passport field
-
-
-
Field Detail
-
BPD_KEY_LASTUPDATE
private static final java.lang.String BPD_KEY_LASTUPDATE
- See Also:
- Constant Field Values
-
BPD_KEY_HBCIVERSION
private static final java.lang.String BPD_KEY_HBCIVERSION
- See Also:
- Constant Field Values
-
passport
private HBCIPassportInternal passport
-
kernel
private HBCIKernelImpl kernel
-
-
Constructor Detail
-
HBCIInstitute
public HBCIInstitute(HBCIKernelImpl kernel, HBCIPassportInternal passport, boolean forceAsParent)
-
-
Method Detail
-
updateBPD
void updateBPD(java.util.Properties result)
gets the BPD out of the result and store it in the passport field
-
extractKeys
void extractKeys(java.util.Properties result)
gets the server public keys from the result and store them in the passport
-
acknowledgeNewKeys
private void acknowledgeNewKeys()
-
isBPDExpired
private boolean isBPDExpired()
Prueft, ob die BPD abgelaufen sind und neu geladen werden muessen.- Returns:
- true, wenn die BPD abgelaufen sind.
-
fetchBPD
public void fetchBPD()
Aktualisiert die BPD bei Bedarf.
-
fetchKeys
public void fetchKeys()
-
register
public void register()
-
sync
public void sync(boolean force)
Description copied from interface:IHandlerData
Fuehrt eine Neu-Synchronisierung durch.- Specified by:
sync
in interfaceIHandlerData
- Parameters:
force
- true, wenn die Neu-Synchronisierung forciert werden soll.- See Also:
IHandlerData.sync(boolean)
-
getMsgGen
public MsgGen getMsgGen()
- Specified by:
getMsgGen
in interfaceIHandlerData
-
getPassport
public HBCIPassport getPassport()
- Specified by:
getPassport
in interfaceIHandlerData
-
-