summaryrefslogtreecommitdiff
path: root/S002.go
blob: a2e4d4bc7a88dbbadf72df77b74426380a9368ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"`
}