Documentation
¶
Index ¶
- type AcquireLicense
- type Algorithm
- type Body
- type Bytes
- type CertificateChains
- type Challenge
- type CipherData
- type ContentHeader
- type Data
- type EncryptedData
- type EncryptedKey
- type EncryptedKeyInfo
- type Envelope
- type EnvelopeResponse
- type Feature
- type Features
- type InnerChallenge
- type KeyInfo
- type La
- type ProtectInfo
- type Reference
- type Signature
- type SignedInfo
- type WrmHeader
- type WrmHeaderData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcquireLicense ¶
type Body ¶
type Body struct {
AcquireLicense *AcquireLicense
AcquireLicenseResponse *struct {
AcquireLicenseResult struct {
Response struct {
LicenseResponse struct {
Licenses struct {
License Bytes
}
}
}
}
}
Fault *struct {
Fault string `xml:"faultstring"`
}
}
type CertificateChains ¶
type CertificateChains struct {
CertificateChain Bytes
}
type Challenge ¶
type Challenge struct {
Challenge InnerChallenge
}
type CipherData ¶
type CipherData struct {
CipherValue Bytes
}
type ContentHeader ¶
type ContentHeader struct {
WrmHeader WrmHeader `xml:"WRMHEADER"`
}
type Data ¶
type Data struct {
CertificateChains CertificateChains
Features Features
}
type EncryptedData ¶
type EncryptedData struct {
XmlNs string `xml:"xmlns,attr"`
Type string `xml:"Type,attr"`
EncryptionMethod Algorithm
KeyInfo KeyInfo
CipherData CipherData
}
type EncryptedKey ¶
type EncryptedKey struct {
XmlNs string `xml:"xmlns,attr"`
EncryptionMethod Algorithm
CipherData CipherData
KeyInfo EncryptedKeyInfo
}
type EncryptedKeyInfo ¶
type Envelope ¶
type EnvelopeResponse ¶
type EnvelopeResponse struct {
Body Body
}
func (*EnvelopeResponse) Unmarshal ¶
func (e *EnvelopeResponse) Unmarshal(data []byte) error
type InnerChallenge ¶
type KeyInfo ¶
type KeyInfo struct {
XmlNs string `xml:"xmlns,attr"`
EncryptedKey EncryptedKey
}
type La ¶
type La struct {
XMLName xml.Name `xml:"LA"`
XmlNs string `xml:"xmlns,attr"`
Id string `xml:"Id,attr"`
Version string
ContentHeader ContentHeader
EncryptedData EncryptedData
}
type ProtectInfo ¶
type Signature ¶
type Signature struct {
SignedInfo SignedInfo
SignatureValue Bytes
}
type SignedInfo ¶
func (*SignedInfo) Marshal ¶
func (s *SignedInfo) Marshal() ([]byte, error)
type WrmHeader ¶
type WrmHeader struct {
XmlNs string `xml:"xmlns,attr"`
Version string `xml:"version,attr"`
Data WrmHeaderData `xml:"DATA"`
}
type WrmHeaderData ¶
type WrmHeaderData struct {
ProtectInfo ProtectInfo `xml:"PROTECTINFO"`
Kid Bytes `xml:"KID"`
}
Click to show internal directories.
Click to hide internal directories.