Class NoPubKeyDigestsRequestElement

java.lang.Object
org.kopi.ebics.xml.DefaultEbicsRootElement
org.kopi.ebics.xml.NoPubKeyDigestsRequestElement
All Implemented Interfaces:
Serializable, EbicsElement, EbicsRootElement

public class NoPubKeyDigestsRequestElement extends DefaultEbicsRootElement
The NoPubKeyDigestsRequestElement is the root element for a HPB ebics server request.
See Also:
  • Constructor Details

    • NoPubKeyDigestsRequestElement

      public NoPubKeyDigestsRequestElement(EbicsSession session)
      Construct a new No Public Key Digests Request element.
      Parameters:
      session - the current ebics session.
  • Method Details

    • getDigest

      public byte[] getDigest() throws EbicsException
      Returns the digest value of the authenticated XML portions.
      Returns:
      the digest value.
      Throws:
      EbicsException - Failed to retrieve the digest value.
    • setAuthSignature

      public void setAuthSignature(SignatureType authSignature)
      Sets the authentication signature of the NoPubKeyDigestsRequestElement
      Parameters:
      authSignature - the authentication signature.
    • setSignatureValue

      public void setSignatureValue(byte[] signature)
      Sets the signature value of the request.
      Parameters:
      signature - the signature value
    • build

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

      public byte[] toByteArray()
      Description copied from interface: EbicsRootElement
      Converts the EbicsElement to a byte array
      Specified by:
      toByteArray in interface EbicsRootElement
      Overrides:
      toByteArray in class DefaultEbicsRootElement
      Returns:
      the equivalent byte array of this EbicsElement
    • getName

      public String getName()
      Description copied from interface: EbicsElement
      Returns the name of this EbicsElement
      Returns:
      the name of the element