INNER CODE UNIT · Go

NewXMLList

cloudflare/cfrpki · ca/xml.go:58

func NewXMLList() *XMLMessage {
	return &XMLMessage{
		Version: XML_VERSION_RFC8181,
		Type:    "query",
		Inner:   "<list/>",
	}
}

type Content struct {
	XMLName   xml.Name
	Hash      string `xml:"hash,attr"`
	ErrorCode string `xml:"error_code,attr"`
	Tag       string `xml:"tag,attr"`
	URI       string `xml:"uri,attr"`
	Inner     string `xml:",innerxml"`
}

func DecodeInner(inner []byte) ([]Content, error) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…