Class EbicsOrderINI

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

Specialized EbicsOrder for INI requests.

public class EbicsOrderINI : EbicsOrder
Inheritance
EbicsOrderINI
Inherited Members

Remarks

A INI request is used for initial submission of the users signature key.

Constructors

EbicsOrderINI(EbicsContact, EbicsPubKeyInfo)

public EbicsOrderINI(EbicsContact aContact, EbicsPubKeyInfo aSignaturePubKey)

Parameters

aContact EbicsContact
aSignaturePubKey EbicsPubKeyInfo

The public signature key that shall be submitted. This must not be null. If a certificate shall be sent with the public key, then it must already be contained in X509Certificate. This constructor will not create a self signed certificate.

Exceptions

ArgumentNullException

EbicsOrderINI(EbicsContact, IEbicsSecurityMedium)

public EbicsOrderINI(EbicsContact aContact, IEbicsSecurityMedium aSecurityMedium)

Parameters

aContact EbicsContact
aSecurityMedium IEbicsSecurityMedium

Authenticated security medium of the given contact. This is used to create the public signature key information via ProduceKey(EbicsContact, IEbicsSecurityMedium, EbicsSecurityCode).

Remarks

Note that by calling ProduceKey(EbicsContact, IEbicsSecurityMedium, EbicsSecurityCode) this constructor will always create a new EbicsPubKeyInfo instance with a new self signed certificate (if needed). Any public key already stored in aContact will be ignored.

Exceptions

ArgumentNullException
ArgumentException

The SignatureVersion is not set in the given aContact.

Properties

UserSignaturePubKey

public EbicsPubKeyInfo UserSignaturePubKey { get; }

Property Value

EbicsPubKeyInfo

Methods

BuildOrderData(EbicsContact, EbicsPubKeyInfo)

Builds a SignaturePubKeyOrderData XML document.

public static XmlDocument BuildOrderData(EbicsContact aContact, EbicsPubKeyInfo aSigKey)

Parameters

aContact EbicsContact
aSigKey EbicsPubKeyInfo

Returns

XmlDocument

BuildOrderDataA004(EbicsContact, EbicsPubKeyInfo)

Builds an A004 public key file.

public static EbicsDataBuffer BuildOrderDataA004(EbicsContact aContact, EbicsPubKeyInfo aSigKey)

Parameters

aContact EbicsContact
aSigKey EbicsPubKeyInfo

Returns

EbicsDataBuffer