Documentation ¶
Overview ¶
Generated by the generator, DO NOT modify manually
Index ¶
- type CaProfile
- type CaProfileEncoder
- type CaProfileParsingContext
- type CertificateName
- type CertificateNameEncoder
- type CertificateNameParsingContext
- type ChallengeDataPlaintext
- type ChallengeDataPlaintextEncoder
- type ChallengeDataPlaintextParsingContext
- type ChallengeInterestPlaintext
- type ChallengeInterestPlaintextEncoder
- type ChallengeInterestPlaintextParsingContext
- type EncryptedMessage
- type EncryptedMessageEncoder
- type EncryptedMessageParsingContext
- type ErrorMessage
- type ErrorMessageEncoder
- type ErrorMessageParsingContext
- type Links
- type LinksEncoder
- type LinksParsingContext
- type NewData
- type NewDataEncoder
- type NewDataParsingContext
- type NewInterestAppParameters
- type NewInterestAppParametersEncoder
- type NewInterestAppParametersParsingContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaProfile ¶
type CaProfile struct { //+field:name CaPrefix enc.Name `tlv:"0x81"` //+field:string CaInfo string `tlv:"0x83"` //+field:sequence:string:string ParameterKey []string `tlv:"0x85"` //+field:natural MaxValidPeriod uint64 `tlv:"0x8B"` //+field:wire CaCertificate enc.Wire `tlv:"0x89"` }
func ParseCaProfile ¶
func ParseCaProfile(reader enc.ParseReader, ignoreCritical bool) (*CaProfile, error)
type CaProfileEncoder ¶
type CaProfileEncoder struct { CaPrefix_length uint ParameterKey_subencoder []struct { } CaCertificate_length uint // contains filtered or unexported fields }
func (*CaProfileEncoder) Encode ¶
func (encoder *CaProfileEncoder) Encode(value *CaProfile) enc.Wire
func (*CaProfileEncoder) EncodeInto ¶
func (encoder *CaProfileEncoder) EncodeInto(value *CaProfile, buf []byte)
func (*CaProfileEncoder) Init ¶
func (encoder *CaProfileEncoder) Init(value *CaProfile)
type CaProfileParsingContext ¶
type CaProfileParsingContext struct { }
func (*CaProfileParsingContext) Init ¶
func (context *CaProfileParsingContext) Init()
func (*CaProfileParsingContext) Parse ¶
func (context *CaProfileParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*CaProfile, error)
type CertificateName ¶
func ParseCertificateName ¶
func ParseCertificateName(reader enc.ParseReader, ignoreCritical bool) (*CertificateName, error)
func (*CertificateName) Bytes ¶
func (value *CertificateName) Bytes() []byte
func (*CertificateName) Encode ¶
func (value *CertificateName) Encode() enc.Wire
type CertificateNameEncoder ¶
type CertificateNameEncoder struct { Name_length uint // contains filtered or unexported fields }
func (*CertificateNameEncoder) Encode ¶
func (encoder *CertificateNameEncoder) Encode(value *CertificateName) enc.Wire
func (*CertificateNameEncoder) EncodeInto ¶
func (encoder *CertificateNameEncoder) EncodeInto(value *CertificateName, buf []byte)
func (*CertificateNameEncoder) Init ¶
func (encoder *CertificateNameEncoder) Init(value *CertificateName)
type CertificateNameParsingContext ¶
type CertificateNameParsingContext struct { }
func (*CertificateNameParsingContext) Init ¶
func (context *CertificateNameParsingContext) Init()
func (*CertificateNameParsingContext) Parse ¶
func (context *CertificateNameParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*CertificateName, error)
type ChallengeDataPlaintext ¶
type ChallengeDataPlaintext struct { //+field:natural Status uint64 `tlv:"0x9B"` //+field:string:optional ChallengeStatus *string `tlv:"0xA3"` //+field:struct:CertificateName IssuedCertificateName *CertificateName `tlv:"0xA9"` //+field:struct:Links ForwardingHint *Links `tlv:"0x1e"` //+field:natural:optional RemainingTries *uint64 `tlv:"0xA5"` //+field:natural:optional RemainingTime *uint64 `tlv:"0xA7"` //+field:map:string:string:0x87:[]byte:binary Parameters map[string][]byte `tlv:"0x85"` }
func ParseChallengeDataPlaintext ¶
func ParseChallengeDataPlaintext(reader enc.ParseReader, ignoreCritical bool) (*ChallengeDataPlaintext, error)
func (*ChallengeDataPlaintext) Bytes ¶
func (value *ChallengeDataPlaintext) Bytes() []byte
func (*ChallengeDataPlaintext) Encode ¶
func (value *ChallengeDataPlaintext) Encode() enc.Wire
type ChallengeDataPlaintextEncoder ¶
type ChallengeDataPlaintextEncoder struct { IssuedCertificateName_encoder CertificateNameEncoder ForwardingHint_encoder LinksEncoder Parameters_valencoder map[string]*struct { } // contains filtered or unexported fields }
func (*ChallengeDataPlaintextEncoder) Encode ¶
func (encoder *ChallengeDataPlaintextEncoder) Encode(value *ChallengeDataPlaintext) enc.Wire
func (*ChallengeDataPlaintextEncoder) EncodeInto ¶
func (encoder *ChallengeDataPlaintextEncoder) EncodeInto(value *ChallengeDataPlaintext, buf []byte)
func (*ChallengeDataPlaintextEncoder) Init ¶
func (encoder *ChallengeDataPlaintextEncoder) Init(value *ChallengeDataPlaintext)
type ChallengeDataPlaintextParsingContext ¶
type ChallengeDataPlaintextParsingContext struct { IssuedCertificateName_context CertificateNameParsingContext ForwardingHint_context LinksParsingContext }
func (*ChallengeDataPlaintextParsingContext) Init ¶
func (context *ChallengeDataPlaintextParsingContext) Init()
func (*ChallengeDataPlaintextParsingContext) Parse ¶
func (context *ChallengeDataPlaintextParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*ChallengeDataPlaintext, error)
type ChallengeInterestPlaintext ¶
type ChallengeInterestPlaintext struct { //+field:string SelectedChallenge string `tlv:"0xA1"` //+field:map:string:string:0x87:[]byte:binary Parameters map[string][]byte `tlv:"0x85"` }
func ParseChallengeInterestPlaintext ¶
func ParseChallengeInterestPlaintext(reader enc.ParseReader, ignoreCritical bool) (*ChallengeInterestPlaintext, error)
func (*ChallengeInterestPlaintext) Bytes ¶
func (value *ChallengeInterestPlaintext) Bytes() []byte
func (*ChallengeInterestPlaintext) Encode ¶
func (value *ChallengeInterestPlaintext) Encode() enc.Wire
type ChallengeInterestPlaintextEncoder ¶
type ChallengeInterestPlaintextEncoder struct { Parameters_valencoder map[string]*struct { } // contains filtered or unexported fields }
func (*ChallengeInterestPlaintextEncoder) Encode ¶
func (encoder *ChallengeInterestPlaintextEncoder) Encode(value *ChallengeInterestPlaintext) enc.Wire
func (*ChallengeInterestPlaintextEncoder) EncodeInto ¶
func (encoder *ChallengeInterestPlaintextEncoder) EncodeInto(value *ChallengeInterestPlaintext, buf []byte)
func (*ChallengeInterestPlaintextEncoder) Init ¶
func (encoder *ChallengeInterestPlaintextEncoder) Init(value *ChallengeInterestPlaintext)
type ChallengeInterestPlaintextParsingContext ¶
type ChallengeInterestPlaintextParsingContext struct { }
func (*ChallengeInterestPlaintextParsingContext) Init ¶
func (context *ChallengeInterestPlaintextParsingContext) Init()
func (*ChallengeInterestPlaintextParsingContext) Parse ¶
func (context *ChallengeInterestPlaintextParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*ChallengeInterestPlaintext, error)
type EncryptedMessage ¶
type EncryptedMessage struct { //+field:binary InitializationVector []byte `tlv:"0x9D"` //+field:binary AuthenticationTag []byte `tlv:"0xAF"` //+field:binary EncryptedPayload []byte `tlv:"0x9F"` }
func ParseEncryptedMessage ¶
func ParseEncryptedMessage(reader enc.ParseReader, ignoreCritical bool) (*EncryptedMessage, error)
func (*EncryptedMessage) Bytes ¶
func (value *EncryptedMessage) Bytes() []byte
func (*EncryptedMessage) Encode ¶
func (value *EncryptedMessage) Encode() enc.Wire
type EncryptedMessageEncoder ¶
type EncryptedMessageEncoder struct {
// contains filtered or unexported fields
}
func (*EncryptedMessageEncoder) Encode ¶
func (encoder *EncryptedMessageEncoder) Encode(value *EncryptedMessage) enc.Wire
func (*EncryptedMessageEncoder) EncodeInto ¶
func (encoder *EncryptedMessageEncoder) EncodeInto(value *EncryptedMessage, buf []byte)
func (*EncryptedMessageEncoder) Init ¶
func (encoder *EncryptedMessageEncoder) Init(value *EncryptedMessage)
type EncryptedMessageParsingContext ¶
type EncryptedMessageParsingContext struct { }
func (*EncryptedMessageParsingContext) Init ¶
func (context *EncryptedMessageParsingContext) Init()
func (*EncryptedMessageParsingContext) Parse ¶
func (context *EncryptedMessageParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*EncryptedMessage, error)
type ErrorMessage ¶
type ErrorMessage struct { //+field:natural ErrorCode uint64 `tlv:"0xAB"` //+field:string ErrorInfo string `tlv:"0xAD"` }
func ParseErrorMessage ¶
func ParseErrorMessage(reader enc.ParseReader, ignoreCritical bool) (*ErrorMessage, error)
func (*ErrorMessage) Bytes ¶
func (value *ErrorMessage) Bytes() []byte
func (*ErrorMessage) Encode ¶
func (value *ErrorMessage) Encode() enc.Wire
type ErrorMessageEncoder ¶
type ErrorMessageEncoder struct {
// contains filtered or unexported fields
}
func (*ErrorMessageEncoder) Encode ¶
func (encoder *ErrorMessageEncoder) Encode(value *ErrorMessage) enc.Wire
func (*ErrorMessageEncoder) EncodeInto ¶
func (encoder *ErrorMessageEncoder) EncodeInto(value *ErrorMessage, buf []byte)
func (*ErrorMessageEncoder) Init ¶
func (encoder *ErrorMessageEncoder) Init(value *ErrorMessage)
type ErrorMessageParsingContext ¶
type ErrorMessageParsingContext struct { }
func (*ErrorMessageParsingContext) Init ¶
func (context *ErrorMessageParsingContext) Init()
func (*ErrorMessageParsingContext) Parse ¶
func (context *ErrorMessageParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*ErrorMessage, error)
type Links ¶
func ParseLinks ¶
func ParseLinks(reader enc.ParseReader, ignoreCritical bool) (*Links, error)
type LinksEncoder ¶
type LinksEncoder struct { Names_subencoder []struct { Names_length uint } // contains filtered or unexported fields }
func (*LinksEncoder) EncodeInto ¶
func (encoder *LinksEncoder) EncodeInto(value *Links, buf []byte)
func (*LinksEncoder) Init ¶
func (encoder *LinksEncoder) Init(value *Links)
type LinksParsingContext ¶
type LinksParsingContext struct { }
func (*LinksParsingContext) Init ¶
func (context *LinksParsingContext) Init()
func (*LinksParsingContext) Parse ¶
func (context *LinksParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*Links, error)
type NewData ¶
type NewData struct { //+field:binary EcdhPub []byte `tlv:"0x91"` //+field:binary Salt []byte `tlv:"0x95"` //+field:binary RequestId []byte `tlv:"0x97"` //+field:sequence:string:string Challenge []string `tlv:"0x99"` }
func ParseNewData ¶
func ParseNewData(reader enc.ParseReader, ignoreCritical bool) (*NewData, error)
type NewDataEncoder ¶
type NewDataEncoder struct { Challenge_subencoder []struct { } // contains filtered or unexported fields }
func (*NewDataEncoder) EncodeInto ¶
func (encoder *NewDataEncoder) EncodeInto(value *NewData, buf []byte)
func (*NewDataEncoder) Init ¶
func (encoder *NewDataEncoder) Init(value *NewData)
type NewDataParsingContext ¶
type NewDataParsingContext struct { }
func (*NewDataParsingContext) Init ¶
func (context *NewDataParsingContext) Init()
func (*NewDataParsingContext) Parse ¶
func (context *NewDataParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*NewData, error)
type NewInterestAppParameters ¶
type NewInterestAppParameters struct { //+field:binary EcdhPub []byte `tlv:"0x91"` //+field:binary CertRequest []byte `tlv:"0x93"` }
func ParseNewInterestAppParameters ¶
func ParseNewInterestAppParameters(reader enc.ParseReader, ignoreCritical bool) (*NewInterestAppParameters, error)
func (*NewInterestAppParameters) Bytes ¶
func (value *NewInterestAppParameters) Bytes() []byte
func (*NewInterestAppParameters) Encode ¶
func (value *NewInterestAppParameters) Encode() enc.Wire
type NewInterestAppParametersEncoder ¶
type NewInterestAppParametersEncoder struct {
// contains filtered or unexported fields
}
func (*NewInterestAppParametersEncoder) Encode ¶
func (encoder *NewInterestAppParametersEncoder) Encode(value *NewInterestAppParameters) enc.Wire
func (*NewInterestAppParametersEncoder) EncodeInto ¶
func (encoder *NewInterestAppParametersEncoder) EncodeInto(value *NewInterestAppParameters, buf []byte)
func (*NewInterestAppParametersEncoder) Init ¶
func (encoder *NewInterestAppParametersEncoder) Init(value *NewInterestAppParameters)
type NewInterestAppParametersParsingContext ¶
type NewInterestAppParametersParsingContext struct { }
func (*NewInterestAppParametersParsingContext) Init ¶
func (context *NewInterestAppParametersParsingContext) Init()
func (*NewInterestAppParametersParsingContext) Parse ¶
func (context *NewInterestAppParametersParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*NewInterestAppParameters, error)
Click to show internal directories.
Click to hide internal directories.