Interface EbicsBank

All Superinterfaces:
Serializable
All Known Implementing Classes:
Bank

public interface EbicsBank extends Serializable
Details about EBICS communication with a given bank.
  • 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

      RSAPublicKey getE002Key()
      Returns the banks encryption key.
      Returns:
      the banks encryption key.
    • getX002Key

      RSAPublicKey getX002Key()
      Returns the banks authentication key.
      Returns:
      the banks authentication key.
    • getHostId

      String getHostId()
      Returns the bank's id.
      Returns:
      the bank's id.
    • getName

      String getName()
      Returns the bank's name.
      Returns:
      the bank's name.
    • setBankKeys

      void setBankKeys(RSAPublicKey e002Key, RSAPublicKey x002Key)
      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 digest
      x002Digest - authentication digest