diff options
Diffstat (limited to 'H005.go')
| -rw-r--r-- | H005.go | 45 |
1 files changed, 44 insertions, 1 deletions
@@ -1,6 +1,9 @@ package libebics -import "encoding/xml" +import ( + "encoding/xml" + "time" +) type H005UnsecuredRequest struct { XMLName xml.Name `xml:"ebicsUnsecuredRequest"` @@ -75,3 +78,43 @@ type H005EncryptionPubKeyInfo struct { X509Data DSIGX509Data `xml:"ds:X509Data"` EncryptionVersion EbicsCertificateType `xml:"EncryptionVersion"` } + +type H005NoPubKeyDigestsRequest struct { + XMLName xml.Name `xml:"ebicsNoPubKeyDigestsRequest"` + Xmlns string `xml:"xmlns,attr"` + Ds string `xml:"xmlns:ds,attr"` + Version string `xml:"Version,attr"` + Revision string `xml:"Revision,attr"` + Header H005NoPubKeyDigestsRequestHeader `xml:"header"` + AuthSignature DSIGSignatureType `xml:"AuthSignature"` // TODO Base64 marshalling + Body H005NoPubKeyDigestsRequestBody `xml:"body"` // TODO Cannot be correct + +} + +type H005NoPubKeyDigestsRequestHeader struct { + XMLName xml.Name `xml:"header"` + Authenticate bool `xml:"authenticate,attr"` + Static H005NoPubKeyDigestsRequestStaticHeaderType `xml:"static"` + Mutable H005EmptyMutableHeaderType `xml:"mutable"` +} + +type H005NoPubKeyDigestsRequestStaticHeaderType struct { + XMLName xml.Name `xml:"static"` + HostID string `xml:"HostID"` + Nonce string `xml:"Nonce"` + Timestamp time.Time `xml:"Timestamp"` + PartnerID string `xml:"PartnerID"` + UserID string `xml:"UserID"` + Product H005ProductElementType `xml:"Product"` + OrderDetails H005NoPubKeyDigestsReqOrderDetailsType `xml:"OrderDetails"` + SecurityMedium string `xml:"SecurityMedium"` +} + +type H005NoPubKeyDigestsReqOrderDetailsType struct { + XMLName xml.Name `xml:"OrderDetails"` + AdminOrderType string `xml:"AdminOrderType"` +} + +type H005NoPubKeyDigestsRequestBody struct { + XMLName xml.Name `xml:"body"` +} |
