Package org.kapott.hbci.passport
Class AbstractRDHSWPassport
java.lang.Object
org.kapott.hbci.passport.AbstractHBCIPassport
org.kapott.hbci.passport.AbstractRDHPassport
org.kapott.hbci.passport.AbstractRDHSWPassport
- All Implemented Interfaces:
Serializable,HBCIPassport,HBCIPassportInternal,InitLetterPassport
- Direct Known Subclasses:
AbstractRDHSWFileBasedPassport
- See Also:
-
Field Summary
FieldsFields inherited from interface org.kapott.hbci.passport.HBCIPassport
ROLE_CON, ROLE_ISS, ROLE_WIT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]decrypt(byte[] cryptedKey, byte[] cryptedMsg) byte[][]encrypt(byte[] plainMsg) private byte[]encryptKey(SecretKey msgkey) private byte[]encryptMessage(byte[] plainMsg, SecretKey msgkey) HBCIKey[][]getKey(int i, int j) private intbooleanbooleanbooleanbooleanvoidsetInstEncKey(HBCIKey key) voidsetInstSigKey(HBCIKey key) final voidvoidsetMyDigKey(HBCIKey key) voidsetMyEncKey(HBCIKey key) voidvoidvoidvoidsetMyPublicDigKey(HBCIKey key) voidsetMyPublicEncKey(HBCIKey key) voidsetMyPublicSigKey(HBCIKey key) voidsetMySigKey(HBCIKey key) byte[]sign(byte[] data) booleanverify(byte[] data, byte[] sig) Methods inherited from class org.kapott.hbci.passport.AbstractRDHPassport
createMsgKey, getCommInstance, getCryptAlg, getCryptDataSize, getCryptFunction, getCryptKeyType, getCryptMode, getHashAlg, getPassportTypeName, getProfileMethod, getSigAlg, getSigFunction, getSigMode, getSignatureInstance, getSignatureParamSpec, getSysStatus, hash, isSupported, needInstKeys, needUserKeys, needUserSig, onDialogEventMethods inherited from class org.kapott.hbci.passport.AbstractHBCIPassport
askForMissingData, canMixSecMethods, changePassphrase, checkForCryptDataSize, clearBPD, clearInstEncKey, clearInstSigKey, clearMyDigKey, clearMyEncKey, clearMySigKey, clearUPD, close, closeComm, fillAccountInfo, 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, syncSysIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kapott.hbci.passport.HBCIPassport
saveChangesMethods inherited from interface org.kapott.hbci.passport.HBCIPassportInternal
getProfileVersion, resetPassphrase
-
Field Details
-
keys
-
-
Constructor Details
-
AbstractRDHSWPassport
-
-
Method Details
-
hasInstSigKey
public boolean hasInstSigKey() -
hasInstEncKey
public boolean hasInstEncKey() -
hasMySigKey
public boolean hasMySigKey() -
hasMyEncKey
public boolean hasMyEncKey() -
getKey
-
setInstSigKey
-
setInstEncKey
-
setMySigKey
-
setMyEncKey
-
setMyDigKey
-
setMyPublicSigKey
-
setMyPrivateSigKey
-
setMyPublicEncKey
-
setMyPrivateEncKey
-
setMyPublicDigKey
-
setMyPrivateDigKey
-
getMyPublicSigKey
-
getMyPrivateSigKey
-
getMyPublicEncKey
-
getMyPrivateEncKey
-
getMyPublicDigKey
-
getMyPrivateDigKey
-
getInstSigKey
-
getInstSigKeyName
-
getInstSigKeyNum
-
getInstSigKeyVersion
-
getInstEncKey
-
getInstEncKeyName
-
getInstEncKeyNum
-
getInstEncKeyVersion
-
getMySigKeyName
-
getMySigKeyNum
-
getMySigKeyVersion
-
getMyEncKeyName
-
getMyEncKeyNum
-
getMyEncKeyVersion
-
setKey
-
sign
public byte[] sign(byte[] data) -
verify
public boolean verify(byte[] data, byte[] sig) -
encryptMessage
-
encryptKey
-
encrypt
public byte[][] encrypt(byte[] plainMsg) -
decrypt
public byte[] decrypt(byte[] cryptedKey, byte[] cryptedMsg) -
getKeySizeByProfile
private int getKeySizeByProfile() -
generateNewUserKeys
- Specified by:
generateNewUserKeysin interfaceHBCIPassportInternal- Overrides:
generateNewUserKeysin classAbstractHBCIPassport
-