Package org.kapott.hbci.passport
Class AbstractRDHPassport
- java.lang.Object
-
- org.kapott.hbci.passport.AbstractHBCIPassport
-
- org.kapott.hbci.passport.AbstractRDHPassport
-
- All Implemented Interfaces:
java.io.Serializable,HBCIPassport,HBCIPassportInternal
- Direct Known Subclasses:
AbstractRDHSWPassport,HBCIPassportRSA
public abstract class AbstractRDHPassport extends AbstractHBCIPassport
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.kapott.hbci.passport.HBCIPassport
ROLE_CON, ROLE_ISS, ROLE_WIT
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractRDHPassport(java.lang.Object init)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.crypto.SecretKeycreateMsgKey()CommgetCommInstance()java.lang.StringgetCryptAlg()protected intgetCryptDataSize(java.security.Key key)java.lang.StringgetCryptFunction()java.lang.StringgetCryptKeyType()java.lang.StringgetCryptMode()java.lang.StringgetHashAlg()java.lang.StringgetPassportTypeName()java.lang.StringgetProfileMethod()java.lang.StringgetSigAlg()java.lang.StringgetSigFunction()java.lang.StringgetSigMode()protected java.security.SignaturegetSignatureInstance()SignatureParamSpecgetSignatureParamSpec()java.lang.StringgetSysStatus()byte[]hash(byte[] data)booleanisSupported()booleanneedInstKeys()booleanneedUserKeys()booleanneedUserSig()voidonDialogEvent(DialogEvent event, DialogContext ctx)Wird bei einem Dialog-Event ausgefuehrt.-
Methods inherited from class org.kapott.hbci.passport.AbstractHBCIPassport
askForMissingData, canMixSecMethods, changePassphrase, checkForCryptDataSize, clearBPD, clearInstEncKey, clearInstSigKey, clearMyDigKey, clearMyEncKey, clearMySigKey, clearUPD, close, closeComm, fillAccountInfo, generateNewUserKeys, getAccount, getAccounts, getBLZ, getBPD, getBPDVersion, getCID, getClientData, getComm, getCommFilter, getCountry, getCustomerId, getCustomerId, getDefaultLang, getFilterType, getHBCIVersion, getHost, getInstance, getInstance, getInstance, getInstance, getInstName, getJobRestrictions, getJobRestrictions, getLang, getMaxGVperMsg, getMaxGVSegsPerMsg, getMaxMsgSizeKB, getParamHeader, getParamSegmentNames, getParentHandlerData, getPersistentData, getPort, getSigId, getStoredCustomerId, getSuppCompMethods, getSuppLangs, getSuppSecMethods, getSuppVersions, getSysId, getUPD, getUPDVersion, getUserId, incSigId, isAnonymous, onlyBPDGVs, setBLZ, setBPD, setCID, setClientData, setCountry, setCustomerId, setFilterType, setHBCIVersion, setHost, setParamHeader, setParentHandlerData, setPersistentData, setPort, setProfileMethod, setProfileVersion, setSigId, setSysId, setUPD, setUserId, syncSigId, syncSysId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kapott.hbci.passport.HBCIPassport
getInstEncKey, getInstSigKey, getMyPrivateDigKey, getMyPrivateEncKey, getMyPrivateSigKey, getMyPublicDigKey, getMyPublicEncKey, getMyPublicSigKey, hasInstEncKey, hasInstSigKey, hasMyEncKey, hasMySigKey, saveChanges
-
Methods inherited from interface org.kapott.hbci.passport.HBCIPassportInternal
decrypt, encrypt, getInstEncKeyName, getInstEncKeyNum, getInstEncKeyVersion, getInstSigKeyName, getInstSigKeyNum, getInstSigKeyVersion, getMyEncKeyName, getMyEncKeyNum, getMyEncKeyVersion, getMySigKeyName, getMySigKeyNum, getMySigKeyVersion, getProfileVersion, resetPassphrase, setInstEncKey, setInstSigKey, setMyPrivateDigKey, setMyPrivateEncKey, setMyPrivateSigKey, setMyPublicDigKey, setMyPublicEncKey, setMyPublicSigKey, sign, verify
-
-
-
-
Method Detail
-
getPassportTypeName
public java.lang.String getPassportTypeName()
-
isSupported
public boolean isSupported()
-
getCommInstance
public Comm getCommInstance()
- Specified by:
getCommInstancein classAbstractHBCIPassport
-
getSysStatus
public java.lang.String getSysStatus()
-
needInstKeys
public boolean needInstKeys()
- See Also:
HBCIPassport.needInstKeys()
-
needUserKeys
public boolean needUserKeys()
-
needUserSig
public boolean needUserSig()
-
getProfileMethod
public java.lang.String getProfileMethod()
-
getCryptKeyType
public java.lang.String getCryptKeyType()
-
getSigFunction
public java.lang.String getSigFunction()
-
getSigAlg
public java.lang.String getSigAlg()
-
getSigMode
public java.lang.String getSigMode()
-
getCryptFunction
public java.lang.String getCryptFunction()
-
getCryptAlg
public java.lang.String getCryptAlg()
-
getCryptMode
public java.lang.String getCryptMode()
-
getCryptDataSize
protected int getCryptDataSize(java.security.Key key)
-
getHashAlg
public java.lang.String getHashAlg()
-
getSignatureParamSpec
public SignatureParamSpec getSignatureParamSpec()
-
getSignatureInstance
protected java.security.Signature getSignatureInstance()
-
createMsgKey
protected javax.crypto.SecretKey createMsgKey()
-
hash
public byte[] hash(byte[] data)
-
onDialogEvent
public void onDialogEvent(DialogEvent event, DialogContext ctx)
Description copied from interface:HBCIPassportInternalWird bei einem Dialog-Event ausgefuehrt.- Specified by:
onDialogEventin interfaceHBCIPassportInternal- Overrides:
onDialogEventin classAbstractHBCIPassport- Parameters:
event- das Event.ctx- der Dialog-Kontext.- See Also:
AbstractHBCIPassport.onDialogEvent(org.kapott.hbci.dialog.DialogEvent, org.kapott.hbci.dialog.DialogContext)
-
-