Class KeyManagementResponseElement

All Implemented Interfaces:
Serializable, EbicsElement, EbicsRootElement

public class KeyManagementResponseElement extends DefaultResponseElement
The KeyManagementResponseElement is the common element for ebics key management requests. This element aims to control the returned code from the ebics server and throw an exception if it is not an EBICS_OK code.
See Also:
  • Constructor Details

    • KeyManagementResponseElement

      public KeyManagementResponseElement(ContentFactory factory, String name)
      Creates a new KeyManagementResponseElement from a given ContentFactory
      Parameters:
      factory - the content factory enclosing the ebics response
      name - the element name
  • Method Details

    • getTransactionKey

      public byte[] getTransactionKey()
      Returns the transaction key of the response.
      Returns:
      the transaction key.
    • getOrderData

      public byte[] getOrderData()
      Returns the order data of the response.
      Returns:
      the order data.
    • build

      public void build() throws EbicsException
      Description copied from interface: EbicsElement
      Builds the EbicsElement XML fragment
      Throws:
      EbicsException
    • report

      public void report() throws EbicsException
      Description copied from class: DefaultResponseElement
      Reports the return code to the user.
      Overrides:
      report in class DefaultResponseElement
      Throws:
      EbicsException - request fails.