summaryrefslogtreecommitdiff
path: root/S002.go
diff options
context:
space:
mode:
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"`
+}