Class EbicsOrderHIA
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
aContactEbicsContactaAuthenticationKeyEbicsPubKeyInfoThe 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.aEncryptionKeyEbicsPubKeyInfoThe 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
EbicsOrderHIA(EbicsContact, IEbicsSecurityMedium)
public EbicsOrderHIA(EbicsContact aContact, IEbicsSecurityMedium aSecurityMedium)
Parameters
aContactEbicsContactaSecurityMediumIEbicsSecurityMediumAuthenticated 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
UserEncryptionPubKey
public EbicsPubKeyInfo UserEncryptionPubKey { get; }
Property Value
Methods
BuildOrderData(EbicsContact, EbicsPubKeyInfo, EbicsPubKeyInfo)
Builds a HIARequestOrderData XML document.
public static XmlDocument BuildOrderData(EbicsContact aContact, EbicsPubKeyInfo aAuthKey, EbicsPubKeyInfo aEncKey)
Parameters
aContactEbicsContactaAuthKeyEbicsPubKeyInfoaEncKeyEbicsPubKeyInfo