summaryrefslogtreecommitdiff
path: root/S002.go
diff options
context:
space:
mode:
authorMerlin Scholz <merlin@scholz.ruhr>2026-05-13 20:15:33 +0200
committerMerlin Scholz <merlin@scholz.ruhr>2026-05-13 20:15:33 +0200
commit60597296eb8b9df9ae8e6e77e0f44929c5ef2970 (patch)
treedc5bba83c3fd2269b6fcf1874329d1d5e980e4c5 /S002.go
parent57c9ff7ab110dc22c84993d54b52554bd79b86f1 (diff)
Move type definitions to proper files and rename according to ebics schema
Diffstat (limited to 'S002.go')
-rw-r--r--S002.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/S002.go b/S002.go
new file mode 100644
index 0000000..a2e4d4b
--- /dev/null
+++ b/S002.go
@@ -0,0 +1,18 @@
+package libebics
+
+import "encoding/xml"
+
+type S002SignaturePubKeyInfoType struct {
+ XMLName xml.Name `xml:"esig:SignaturePubKeyInfo"`
+ X509Data DSIGX509Data `xml:"ds:X509Data"`
+ SignatureVersion string `xml:"esig:SignatureVersion"` // TODO Use ENUM
+}
+
+type S002SignaturePubKeyOrderDataType struct {
+ XMLName xml.Name `xml:"esig:SignaturePubKeyOrderData"`
+ Esig string `xml:"xmlns:esig,attr"`
+ Ds string `xml:"xmlns:ds,attr"`
+ SignaturePubKeyInfo S002SignaturePubKeyInfoType `xml:"esig:SignaturePubKeyInfo"`
+ PartnerID string `xml:"esig:PartnerID"`
+ UserID string `xml:"esig:UserID"`
+}