Documentation
¶
Overview ¶
Code generated by ndn tlv codegen DO NOT EDIT.
Index ¶
- type CaProfile
- type CaProfileEncoder
- type CaProfileParsingContext
- type ChallengeDataPlain
- type ChallengeDataPlainEncoder
- type ChallengeDataPlainParsingContext
- type ChallengeIntPlain
- type ChallengeIntPlainEncoder
- type ChallengeIntPlainParsingContext
- type CipherMsg
- type CipherMsgEncoder
- type CipherMsgParsingContext
- type CmdNewData
- type CmdNewDataEncoder
- type CmdNewDataParsingContext
- type CmdNewInt
- type CmdNewIntEncoder
- type CmdNewIntParsingContext
- type ErrorMsgData
- type ErrorMsgDataEncoder
- type ErrorMsgDataParsingContext
- type ProbeIntAppParam
- type ProbeIntAppParamEncoder
- type ProbeIntAppParamParsingContext
- type ProbeRes
- type ProbeResContent
- type ProbeResContentEncoder
- type ProbeResContentParsingContext
- type ProbeResEncoder
- type ProbeResParsingContext
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
ParamKey []string `tlv:"0x85"`
//+field:natural
MaxValidPeriod uint64 `tlv:"0x8B"`
//+field:wire
CaCert enc.Wire `tlv:"0x89"`
}
func ParseCaProfile ¶
func ParseCaProfile(reader enc.ParseReader, ignoreCritical bool) (*CaProfile, error)
type CaProfileEncoder ¶
type CaProfileEncoder struct {
CaPrefix_length uint
ParamKey_subencoder []struct {
}
CaCert_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 ChallengeDataPlain ¶
type ChallengeDataPlain struct {
//+field:natural
Status uint64 `tlv:"0x9B"`
//+field:string:optional
ChalStatus *string `tlv:"0xA3"`
//+field:natural:optional
RemainTries *uint64 `tlv:"0xA5"`
//+field:natural:optional
RemainTime *uint64 `tlv:"0xA7"`
//+field:name
CertName enc.Name `tlv:"0xA9"`
//+field:name
ForwardingHint enc.Name `tlv:"0x1e"`
//+field:map:string:string:0x87:[]byte:binary
Params map[string][]byte `tlv:"0x85"`
}
func ParseChallengeDataPlain ¶
func ParseChallengeDataPlain(reader enc.ParseReader, ignoreCritical bool) (*ChallengeDataPlain, error)
func (*ChallengeDataPlain) Bytes ¶
func (value *ChallengeDataPlain) Bytes() []byte
func (*ChallengeDataPlain) Encode ¶
func (value *ChallengeDataPlain) Encode() enc.Wire
type ChallengeDataPlainEncoder ¶
type ChallengeDataPlainEncoder struct {
CertName_length uint
ForwardingHint_length uint
Params_valencoder map[string]*struct {
}
// contains filtered or unexported fields
}
func (*ChallengeDataPlainEncoder) Encode ¶
func (encoder *ChallengeDataPlainEncoder) Encode(value *ChallengeDataPlain) enc.Wire
func (*ChallengeDataPlainEncoder) EncodeInto ¶
func (encoder *ChallengeDataPlainEncoder) EncodeInto(value *ChallengeDataPlain, buf []byte)
func (*ChallengeDataPlainEncoder) Init ¶
func (encoder *ChallengeDataPlainEncoder) Init(value *ChallengeDataPlain)
type ChallengeDataPlainParsingContext ¶
type ChallengeDataPlainParsingContext struct {
}
func (*ChallengeDataPlainParsingContext) Init ¶
func (context *ChallengeDataPlainParsingContext) Init()
func (*ChallengeDataPlainParsingContext) Parse ¶
func (context *ChallengeDataPlainParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*ChallengeDataPlain, error)
type ChallengeIntPlain ¶
type ChallengeIntPlain struct {
//+field:string
SelectedChal string `tlv:"0xA1"`
//+field:map:string:string:0x87:[]byte:binary
Params map[string][]byte `tlv:"0x85"`
}
func ParseChallengeIntPlain ¶
func ParseChallengeIntPlain(reader enc.ParseReader, ignoreCritical bool) (*ChallengeIntPlain, error)
func (*ChallengeIntPlain) Bytes ¶
func (value *ChallengeIntPlain) Bytes() []byte
func (*ChallengeIntPlain) Encode ¶
func (value *ChallengeIntPlain) Encode() enc.Wire
type ChallengeIntPlainEncoder ¶
type ChallengeIntPlainEncoder struct {
Params_valencoder map[string]*struct {
}
// contains filtered or unexported fields
}
func (*ChallengeIntPlainEncoder) Encode ¶
func (encoder *ChallengeIntPlainEncoder) Encode(value *ChallengeIntPlain) enc.Wire
func (*ChallengeIntPlainEncoder) EncodeInto ¶
func (encoder *ChallengeIntPlainEncoder) EncodeInto(value *ChallengeIntPlain, buf []byte)
func (*ChallengeIntPlainEncoder) Init ¶
func (encoder *ChallengeIntPlainEncoder) Init(value *ChallengeIntPlain)
type ChallengeIntPlainParsingContext ¶
type ChallengeIntPlainParsingContext struct {
}
func (*ChallengeIntPlainParsingContext) Init ¶
func (context *ChallengeIntPlainParsingContext) Init()
func (*ChallengeIntPlainParsingContext) Parse ¶
func (context *ChallengeIntPlainParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*ChallengeIntPlain, error)
type CipherMsg ¶
type CipherMsg struct {
//+field:binary
InitVec []byte `tlv:"0x9D"`
//+field:binary
AuthNTag []byte `tlv:"0xAF"`
//+field:binary
Payload []byte `tlv:"0x9F"`
}
func ParseCipherMsg ¶
func ParseCipherMsg(reader enc.ParseReader, ignoreCritical bool) (*CipherMsg, error)
type CipherMsgEncoder ¶
type CipherMsgEncoder struct {
// contains filtered or unexported fields
}
func (*CipherMsgEncoder) Encode ¶
func (encoder *CipherMsgEncoder) Encode(value *CipherMsg) enc.Wire
func (*CipherMsgEncoder) EncodeInto ¶
func (encoder *CipherMsgEncoder) EncodeInto(value *CipherMsg, buf []byte)
func (*CipherMsgEncoder) Init ¶
func (encoder *CipherMsgEncoder) Init(value *CipherMsg)
type CipherMsgParsingContext ¶
type CipherMsgParsingContext struct {
}
func (*CipherMsgParsingContext) Init ¶
func (context *CipherMsgParsingContext) Init()
func (*CipherMsgParsingContext) Parse ¶
func (context *CipherMsgParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*CipherMsg, error)
type CmdNewData ¶
type CmdNewData struct {
//+field:binary
EcdhPub []byte `tlv:"0x91"`
//+field:binary
Salt []byte `tlv:"0x95"`
//+field:binary
ReqId []byte `tlv:"0x97"`
//+field:sequence:string:string
Challenge []string `tlv:"0x99"`
}
func ParseCmdNewData ¶
func ParseCmdNewData(reader enc.ParseReader, ignoreCritical bool) (*CmdNewData, error)
func (*CmdNewData) Bytes ¶
func (value *CmdNewData) Bytes() []byte
func (*CmdNewData) Encode ¶
func (value *CmdNewData) Encode() enc.Wire
type CmdNewDataEncoder ¶
type CmdNewDataEncoder struct {
Challenge_subencoder []struct {
}
// contains filtered or unexported fields
}
func (*CmdNewDataEncoder) Encode ¶
func (encoder *CmdNewDataEncoder) Encode(value *CmdNewData) enc.Wire
func (*CmdNewDataEncoder) EncodeInto ¶
func (encoder *CmdNewDataEncoder) EncodeInto(value *CmdNewData, buf []byte)
func (*CmdNewDataEncoder) Init ¶
func (encoder *CmdNewDataEncoder) Init(value *CmdNewData)
type CmdNewDataParsingContext ¶
type CmdNewDataParsingContext struct {
}
func (*CmdNewDataParsingContext) Init ¶
func (context *CmdNewDataParsingContext) Init()
func (*CmdNewDataParsingContext) Parse ¶
func (context *CmdNewDataParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*CmdNewData, error)
type CmdNewInt ¶
type CmdNewInt struct {
//+field:binary
EcdhPub []byte `tlv:"0x91"`
//+field:binary
CertReq []byte `tlv:"0x93"`
}
func ParseCmdNewInt ¶
func ParseCmdNewInt(reader enc.ParseReader, ignoreCritical bool) (*CmdNewInt, error)
type CmdNewIntEncoder ¶
type CmdNewIntEncoder struct {
// contains filtered or unexported fields
}
func (*CmdNewIntEncoder) Encode ¶
func (encoder *CmdNewIntEncoder) Encode(value *CmdNewInt) enc.Wire
func (*CmdNewIntEncoder) EncodeInto ¶
func (encoder *CmdNewIntEncoder) EncodeInto(value *CmdNewInt, buf []byte)
func (*CmdNewIntEncoder) Init ¶
func (encoder *CmdNewIntEncoder) Init(value *CmdNewInt)
type CmdNewIntParsingContext ¶
type CmdNewIntParsingContext struct {
}
func (*CmdNewIntParsingContext) Init ¶
func (context *CmdNewIntParsingContext) Init()
func (*CmdNewIntParsingContext) Parse ¶
func (context *CmdNewIntParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*CmdNewInt, error)
type ErrorMsgData ¶
type ErrorMsgData struct {
//+field:natural
ErrCode uint64 `tlv:"0xAB"`
//+field:string
ErrInfo string `tlv:"0xAD"`
}
func ParseErrorMsgData ¶
func ParseErrorMsgData(reader enc.ParseReader, ignoreCritical bool) (*ErrorMsgData, error)
func (*ErrorMsgData) Bytes ¶
func (value *ErrorMsgData) Bytes() []byte
func (*ErrorMsgData) Encode ¶
func (value *ErrorMsgData) Encode() enc.Wire
type ErrorMsgDataEncoder ¶
type ErrorMsgDataEncoder struct {
// contains filtered or unexported fields
}
func (*ErrorMsgDataEncoder) Encode ¶
func (encoder *ErrorMsgDataEncoder) Encode(value *ErrorMsgData) enc.Wire
func (*ErrorMsgDataEncoder) EncodeInto ¶
func (encoder *ErrorMsgDataEncoder) EncodeInto(value *ErrorMsgData, buf []byte)
func (*ErrorMsgDataEncoder) Init ¶
func (encoder *ErrorMsgDataEncoder) Init(value *ErrorMsgData)
type ErrorMsgDataParsingContext ¶
type ErrorMsgDataParsingContext struct {
}
func (*ErrorMsgDataParsingContext) Init ¶
func (context *ErrorMsgDataParsingContext) Init()
func (*ErrorMsgDataParsingContext) Parse ¶
func (context *ErrorMsgDataParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*ErrorMsgData, error)
type ProbeIntAppParam ¶
type ProbeIntAppParam struct {
//+field:map:string:string:0x87:[]byte:binary
Params map[string][]byte `tlv:"0x85"`
}
func ParseProbeIntAppParam ¶
func ParseProbeIntAppParam(reader enc.ParseReader, ignoreCritical bool) (*ProbeIntAppParam, error)
func (*ProbeIntAppParam) Bytes ¶
func (value *ProbeIntAppParam) Bytes() []byte
func (*ProbeIntAppParam) Encode ¶
func (value *ProbeIntAppParam) Encode() enc.Wire
type ProbeIntAppParamEncoder ¶
type ProbeIntAppParamEncoder struct {
Params_valencoder map[string]*struct {
}
// contains filtered or unexported fields
}
func (*ProbeIntAppParamEncoder) Encode ¶
func (encoder *ProbeIntAppParamEncoder) Encode(value *ProbeIntAppParam) enc.Wire
func (*ProbeIntAppParamEncoder) EncodeInto ¶
func (encoder *ProbeIntAppParamEncoder) EncodeInto(value *ProbeIntAppParam, buf []byte)
func (*ProbeIntAppParamEncoder) Init ¶
func (encoder *ProbeIntAppParamEncoder) Init(value *ProbeIntAppParam)
type ProbeIntAppParamParsingContext ¶
type ProbeIntAppParamParsingContext struct {
}
func (*ProbeIntAppParamParsingContext) Init ¶
func (context *ProbeIntAppParamParsingContext) Init()
func (*ProbeIntAppParamParsingContext) Parse ¶
func (context *ProbeIntAppParamParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*ProbeIntAppParam, error)
type ProbeRes ¶
type ProbeRes struct {
//+field:name
Response enc.Name `tlv:"0x07"`
//+field:natural:optional
MaxSuffixLength *uint64
}
func ParseProbeRes ¶
func ParseProbeRes(reader enc.ParseReader, ignoreCritical bool) (*ProbeRes, error)
type ProbeResContent ¶
type ProbeResContent struct {
//+field:sequence:*ProbeRes:struct:ProbeRes
Vals []*ProbeRes `tlv:"0x8D"`
}
func ParseProbeResContent ¶
func ParseProbeResContent(reader enc.ParseReader, ignoreCritical bool) (*ProbeResContent, error)
func (*ProbeResContent) Bytes ¶
func (value *ProbeResContent) Bytes() []byte
func (*ProbeResContent) Encode ¶
func (value *ProbeResContent) Encode() enc.Wire
type ProbeResContentEncoder ¶
type ProbeResContentEncoder struct {
Vals_subencoder []struct {
Vals_encoder ProbeResEncoder
}
// contains filtered or unexported fields
}
func (*ProbeResContentEncoder) Encode ¶
func (encoder *ProbeResContentEncoder) Encode(value *ProbeResContent) enc.Wire
func (*ProbeResContentEncoder) EncodeInto ¶
func (encoder *ProbeResContentEncoder) EncodeInto(value *ProbeResContent, buf []byte)
func (*ProbeResContentEncoder) Init ¶
func (encoder *ProbeResContentEncoder) Init(value *ProbeResContent)
type ProbeResContentParsingContext ¶
type ProbeResContentParsingContext struct {
Vals_context ProbeResParsingContext
}
func (*ProbeResContentParsingContext) Init ¶
func (context *ProbeResContentParsingContext) Init()
func (*ProbeResContentParsingContext) Parse ¶
func (context *ProbeResContentParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*ProbeResContent, error)
type ProbeResEncoder ¶
type ProbeResEncoder struct {
Response_length uint
// contains filtered or unexported fields
}
func (*ProbeResEncoder) EncodeInto ¶
func (encoder *ProbeResEncoder) EncodeInto(value *ProbeRes, buf []byte)
func (*ProbeResEncoder) Init ¶
func (encoder *ProbeResEncoder) Init(value *ProbeRes)
type ProbeResParsingContext ¶
type ProbeResParsingContext struct {
}
func (*ProbeResParsingContext) Init ¶
func (context *ProbeResParsingContext) Init()
func (*ProbeResParsingContext) Parse ¶
func (context *ProbeResParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*ProbeRes, error)
Click to show internal directories.
Click to hide internal directories.