• API Overview
  • EBICS API
  • FinTS API
  • XS2A API
  • SEPA API
Search Results for

    Class EbicsXmlContainerMessage

    Represents a single SEPA message inside a EbicsXmlContainer.

    Inheritance
    System.Object
    EbicsElement
    EbicsXmlContainerMessage
    Inherited Members
    EbicsElement.BuildXmlDocument(EbicsVersion)
    EbicsElement.Load(Stream, EbicsVersion)
    EbicsElement.Load(String, EbicsVersion)
    EbicsElement.Save(Stream, EbicsVersion)
    EbicsElement.Save(String, EbicsVersion)
    EbicsElement.FromBuffer(EbicsDataBuffer, EbicsVersion)
    EbicsElement.ToBuffer(EbicsVersion)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Subsembly.EBICS
    Assembly: Subsembly.EBICS.Core.dll
    Syntax
    public class EbicsXmlContainerMessage : EbicsElement

    Constructors

    EbicsXmlContainerMessage(String, String)

    Creates a new XML container element for a particular SEPA pain message type.

    Declaration
    public EbicsXmlContainerMessage(string sMessageTag, string sNamespace)
    Parameters
    Type Name Description
    System.String sMessageTag

    The XML tag that shall be used by this message inside the XML container. Currently this must be either "MsgPain001", "MsgPain002", or "MsgPain008". The required tag depends on the type of SEPA pain message. Use GetMessageTag(String) in order to determine the correct tag from a SEPA pain identifier.

    System.String sNamespace

    The XML namespace URI of the new XML container. Currently this must be either NAMESPACE_CONTAINER_NNN_002_02, NAMESPACE_CONTAINER_NNN_003_02, NAMESPACE_CONTAINER_NNN_001_02, or NAMESPACE_CONTAINER_NNN_001_04. The required namespace depends on the type of SEPA pain messages that shall be contained in the container. Use GetNamespace(String) in order to determine the correct namespace from a SEPA pain identifier.

    Exceptions
    Type Condition
    System.ArgumentNullException

    Either parameter was null.

    System.ArgumentException

    Either parameter was an empty string.

    Properties

    Document

    The actual XML content document of this message.

    Declaration
    public XmlElement Document { get; set; }
    Property Value
    Type Description
    System.Xml.XmlElement
    Remarks

    Usually this is the root element of a SEPA XML document.

    See Also
    AddMessage(XmlElement, String, String)

    HashAlgorithm

    The hash algorithm to be used for the hash value of this message.

    Declaration
    public string HashAlgorithm { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    This defaults to "SHA256" which is the only hash algorithm currently supported. If this is set to null or an empty string, then no hash value will be included when generating the XML for this message.

    MessageTag

    The XML tag that is used for this message.

    Declaration
    public string MessageTag { get; }
    Property Value
    Type Description
    System.String

    Namespace

    The XML namespace that is used for this message.

    Declaration
    public string Namespace { get; }
    Property Value
    Type Description
    System.String

    Methods

    BuildXml(XmlDocument, EbicsVersion)

    Declaration
    public override XmlElement BuildXml(XmlDocument xmlDocument, EbicsVersion nVersion)
    Parameters
    Type Name Description
    System.Xml.XmlDocument xmlDocument
    EbicsVersion nVersion
    Returns
    Type Description
    System.Xml.XmlElement
    Overrides
    EbicsElement.BuildXml(XmlDocument, EbicsVersion)
    Remarks

    This method does not compute the HashValue, it only inserts a placeholder XML element. In order to update this placeholder with a computed hash value, the method HashXml(XmlElement) must be invoked on the returned XML element. Attention: Due to the rules of canonicalization, a correct hash value can only be computed after the entire XML document has been built!

    HashXml(XmlElement)

    Computes and updates the hash value of the message element.

    Declaration
    public void HashXml(XmlElement xmlMsgRoot)
    Parameters
    Type Name Description
    System.Xml.XmlElement xmlMsgRoot

    A message element previously built by BuildXml(XmlDocument, EbicsVersion).

    ParseXml(XmlElement, EbicsVersion)

    Declaration
    public override void ParseXml(XmlElement xmlElement, EbicsVersion nVersion)
    Parameters
    Type Name Description
    System.Xml.XmlElement xmlElement
    EbicsVersion nVersion
    Overrides
    EbicsElement.ParseXml(XmlElement, EbicsVersion)
    In This Article
    • Constructors
      • EbicsXmlContainerMessage(String, String)
    • Properties
      • Document
      • HashAlgorithm
      • MessageTag
      • Namespace
    • Methods
      • BuildXml(XmlDocument, EbicsVersion)
      • HashXml(XmlElement)
      • ParseXml(XmlElement, EbicsVersion)
    Back to top Copyright 2009-2025 Subsembly GmbH