Class EbicsOrderSignature

Namespace
Subsembly.EBICS
Assembly
Subsembly.EBICS.Core.dll

Holds a single order signature.

public class EbicsOrderSignature : EbicsElement
Inheritance
EbicsOrderSignature
Inherited Members

Remarks

In order to create a signature the method Sign(EbicsOrder, IEbicsSecurityMedium) must be used.

Constructors

EbicsOrderSignature()

Creates an empty EbicsOrderSignature instance which can be used to re-create a previously persisted EbicsOrderSignature instance.

public EbicsOrderSignature()

Properties

DateTimeSigned

A time stamp taken at the time of the signature creation.

public DateTime DateTimeSigned { get; set; }

Property Value

DateTime

Remarks

The date/time signed is only saved in the binary signature file format created by BuildSignatureFile() for A004 signatures. It is not included in later signature versions.

DigestDataBuffer

public EbicsDataBuffer DigestDataBuffer { get; set; }

Property Value

EbicsDataBuffer

OrderType

The order type.

public string OrderType { get; set; }

Property Value

string

This is a 3 character alphanumeric value according to the pattern [A-Z0-9]{3}, or null if not set.

Remarks

The order type is only saved in the binary signature file format created by BuildSignatureFile() for A004 signatures. It is not included in later signature versions.

PartnerID

public string PartnerID { get; set; }

Property Value

string

SignatureValue

public EbicsDataBuffer SignatureValue { get; set; }

Property Value

EbicsDataBuffer

SignatureVersion

public EbicsSecurityCode SignatureVersion { get; set; }

Property Value

EbicsSecurityCode

UserID

public string UserID { get; set; }

Property Value

string

Methods

BuildSignatureFile()

public EbicsDataBuffer BuildSignatureFile()

Returns

EbicsDataBuffer

BuildXml(XmlDocument, EbicsVersion)

public override XmlElement BuildXml(XmlDocument xmlDocument, EbicsVersion nVersion)

Parameters

xmlDocument XmlDocument
nVersion EbicsVersion

Returns

XmlElement

Remarks

Depending on the SignatureVersion this creates an OrderSignature or an OrderSignatureData element.

ParseSignatureFile(EbicsDataBuffer)

public void ParseSignatureFile(EbicsDataBuffer dSignatureFile)

Parameters

dSignatureFile EbicsDataBuffer

ParseXml(XmlElement, EbicsVersion)

public override void ParseXml(XmlElement xmlElement, EbicsVersion nVersion)

Parameters

xmlElement XmlElement
nVersion EbicsVersion