Class EbicsOrderHIA

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

Specialized EbicsOrder for HIA requests.

public class EbicsOrderHIA : EbicsOrder
Inheritance
EbicsOrderHIA
Inherited Members

Remarks

A HIA request is used for initial submission of the users authentication and encryption keys.

Constructors

EbicsOrderHIA(EbicsContact, EbicsPubKeyInfo, EbicsPubKeyInfo)

public EbicsOrderHIA(EbicsContact aContact, EbicsPubKeyInfo aAuthenticationKey, EbicsPubKeyInfo aEncryptionKey)

Parameters

aContact EbicsContact
aAuthenticationKey EbicsPubKeyInfo

The public authentication 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.

aEncryptionKey EbicsPubKeyInfo

The public encryption 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

EbicsOrderHIA(EbicsContact, IEbicsSecurityMedium)

public EbicsOrderHIA(EbicsContact aContact, IEbicsSecurityMedium aSecurityMedium)

Parameters

aContact EbicsContact
aSecurityMedium IEbicsSecurityMedium

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

Remarks

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

Exceptions

ArgumentNullException
ArgumentException

The AuthenticationVersion or EncryptionVersion is not set in the given aContact.

Properties

UserAuthenticationPubKey

public EbicsPubKeyInfo UserAuthenticationPubKey { get; }

Property Value

EbicsPubKeyInfo

UserEncryptionPubKey

public EbicsPubKeyInfo UserEncryptionPubKey { get; }

Property Value

EbicsPubKeyInfo

Methods

BuildOrderData(EbicsContact, EbicsPubKeyInfo, EbicsPubKeyInfo)

Builds a HIARequestOrderData XML document.

public static XmlDocument BuildOrderData(EbicsContact aContact, EbicsPubKeyInfo aAuthKey, EbicsPubKeyInfo aEncKey)

Parameters

aContact EbicsContact
aAuthKey EbicsPubKeyInfo
aEncKey EbicsPubKeyInfo

Returns

XmlDocument