Interface EbicsBank
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Bank
Details about EBICS communication with a given bank.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns the encryption key digest you have obtained from the bank.Returns the banks encryption key.Returns the bank's id.getName()Returns the bank's name.getURL()Returns the URL needed for communication to the bank.byte[]Returns the authentication key digest you have obtained from the bank.Returns the banks authentication key.voidsetBankKeys(RSAPublicKey e002Key, RSAPublicKey x002Key) Keys have been fetched from the bank.voidsetDigests(byte[] e002Digest, byte[] x002Digest) Sets the bank digests.
-
Method Details
-
getURL
URL getURL()Returns the URL needed for communication to the bank.- Returns:
- the URL needed for communication to the bank.
-
getE002Digest
byte[] getE002Digest()Returns the encryption key digest you have obtained from the bank. Ensure that nobody was able to modify the digest on its way from the bank to you.- Returns:
- the encryption key digest you have obtained from the bank.
-
getX002Digest
byte[] getX002Digest()Returns the authentication key digest you have obtained from the bank. Ensure that nobody was able to modify the digest on its way from the bank to you.- Returns:
- the authentication key digest you have obtained from the bank.
-
getE002Key
-
getX002Key
RSAPublicKey getX002Key()Returns the banks authentication key.- Returns:
- the banks authentication key.
-
getHostId
-
getName
-
setBankKeys
Keys have been fetched from the bank. The getters for the appropriate attributes should return the given values from now on. For the sake of performance the values should be persisted for later usage.- Parameters:
e002Key- the banks encryption key.x002Key- the banks authentication key.
-
setDigests
void setDigests(byte[] e002Digest, byte[] x002Digest) Sets the bank digests.- Parameters:
e002Digest- encryption digestx002Digest- authentication digest
-