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.StringBPD_KEY_HBCIVERSIONprivate static java.lang.StringBPD_KEY_LASTUPDATEprivate HBCIKernelImplkernelprivate HBCIPassportInternalpassport
-
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 voidacknowledgeNewKeys()(package private) voidextractKeys(java.util.Properties result)gets the server public keys from the result and store them in the passportvoidfetchBPD()Aktualisiert die BPD bei Bedarf.voidfetchKeys()MsgGengetMsgGen()HBCIPassportgetPassport()private booleanisBPDExpired()Prueft, ob die BPD abgelaufen sind und neu geladen werden muessen.voidregister()voidsync(boolean force)Fuehrt eine Neu-Synchronisierung durch.(package private) voidupdateBPD(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:IHandlerDataFuehrt eine Neu-Synchronisierung durch.- Specified by:
syncin interfaceIHandlerData- Parameters:
force- true, wenn die Neu-Synchronisierung forciert werden soll.- See Also:
IHandlerData.sync(boolean)
-
getMsgGen
public MsgGen getMsgGen()
- Specified by:
getMsgGenin interfaceIHandlerData
-
getPassport
public HBCIPassport getPassport()
- Specified by:
getPassportin interfaceIHandlerData
-
-