Documentation
¶
Index ¶
- Constants
- func DecodeXMLCRFull(message []byte) (*XMLMessageChildRequest, []Content, error)
- func DecodeXMLFull(message []byte) (*XMLMessage, []Content, error)
- func DecodeXMLPRFull(message []byte) (*XMLMessageParentResponse, []Content, error)
- type Content
- type XMLMessage
- type XMLMessageChildRequest
- type XMLMessageParentResponse
- type XMLMessagePublisherRequest
- type XMLMessageRepositoryResponse
Constants ¶
View Source
const ( XML_VERSION_RFC8181 = 4 XML_VERSION_RFC8183 = 1 )
Variables ¶
This section is empty.
Functions ¶
func DecodeXMLCRFull ¶
func DecodeXMLCRFull(message []byte) (*XMLMessageChildRequest, []Content, error)
func DecodeXMLFull ¶
func DecodeXMLFull(message []byte) (*XMLMessage, []Content, error)
func DecodeXMLPRFull ¶
func DecodeXMLPRFull(message []byte) (*XMLMessageParentResponse, []Content, error)
Types ¶
type Content ¶
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 ¶
type XMLMessage ¶
type XMLMessage struct { XMLName xml.Name `xml:"http://www.hactrn.net/uris/rpki/publication-spec/ msg"` Version int `xml:"version,attr"` Type string `xml:"type,attr"` Inner string `xml:",innerxml"` }
func DecodeXML ¶
func DecodeXML(message []byte) (*XMLMessage, error)
func NewXMLList ¶
func NewXMLList() *XMLMessage
type XMLMessageChildRequest ¶
type XMLMessageParentResponse ¶
type XMLMessageParentResponse struct { XMLName xml.Name `xml:"http://www.hactrn.net/uris/rpki/rpki-setup/ parent_response"` Version int `xml:"version,attr"` Tag string `xml:"tag,attr"` ServiceURI string `xml:"service_uri,attr"` ChildHandle string `xml:"child_handle,attr"` ParentHandle string `xml:"parent_handle,attr"` Inner string `xml:",innerxml"` }
type XMLMessageRepositoryResponse ¶
type XMLMessageRepositoryResponse struct { XMLName xml.Name `xml:"http://www.hactrn.net/uris/rpki/rpki-setup/ repository_response"` Version int `xml:"version,attr"` Tag string `xml:"tag,attr"` ServiceURI string `xml:"service_uri,attr"` SIABase string `xml:"sia_base,attr"` RRDPNotificationURI string `xml:"rrdp_notification_uri,attr"` PublisherHandle string `xml:"publisher_handle,attr"` Inner string `xml:",innerxml"` }
Click to show internal directories.
Click to hide internal directories.