Class EbicsOrderINI
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
aContactEbicsContactaSignaturePubKeyEbicsPubKeyInfoThe 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
EbicsOrderINI(EbicsContact, IEbicsSecurityMedium)
public EbicsOrderINI(EbicsContact aContact, IEbicsSecurityMedium aSecurityMedium)
Parameters
aContactEbicsContactaSecurityMediumIEbicsSecurityMediumAuthenticated 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
Methods
BuildOrderData(EbicsContact, EbicsPubKeyInfo)
Builds a SignaturePubKeyOrderData XML document.
public static XmlDocument BuildOrderData(EbicsContact aContact, EbicsPubKeyInfo aSigKey)
Parameters
aContactEbicsContactaSigKeyEbicsPubKeyInfo
Returns
BuildOrderDataA004(EbicsContact, EbicsPubKeyInfo)
Builds an A004 public key file.
public static EbicsDataBuffer BuildOrderDataA004(EbicsContact aContact, EbicsPubKeyInfo aSigKey)
Parameters
aContactEbicsContactaSigKeyEbicsPubKeyInfo