spec_2022

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 10 Imported by: 7

Documentation

Overview

Generated by the generator, DO NOT modify manually

Index

Constants

View Source
const (
	NackReasonNone       = uint64(0)
	NackReasonCongestion = uint64(50)
	NackReasonDuplicate  = uint64(100)
	NackReasonNoRoute    = uint64(150)
)
View Source
const (
	TypeInterest = enc.TLNum(0x05)
	TypeData     = enc.TLNum(0x06)
	TypeLpPacket = enc.TLNum(0x64)
)
View Source
const (
	TimeFmt = "20060102T150405" // ISO 8601 time format
)

Variables

This section is empty.

Functions

func ReadPacket

func ReadPacket(reader enc.ParseReader) (*Packet, *PacketParsingContext, error)

ReadPacket parses a packet from the reader.

Precondition: reader contains only one TLV.
Postcondition: exactly one of Interest, Data, or LpPacket is returned.

If precondition is not met, then postcondition is not required to hold. But the call won't crash.

Types

type CachePolicy

type CachePolicy struct {
	//+field:natural
	CachePolicyType uint64 `tlv:"0x0335"`
}

func ParseCachePolicy

func ParseCachePolicy(reader enc.ParseReader, ignoreCritical bool) (*CachePolicy, error)

func (*CachePolicy) Bytes

func (value *CachePolicy) Bytes() []byte

func (*CachePolicy) Encode

func (value *CachePolicy) Encode() enc.Wire

type CachePolicyEncoder

type CachePolicyEncoder struct {
	// contains filtered or unexported fields
}

func (*CachePolicyEncoder) Encode

func (encoder *CachePolicyEncoder) Encode(value *CachePolicy) enc.Wire

func (*CachePolicyEncoder) EncodeInto

func (encoder *CachePolicyEncoder) EncodeInto(value *CachePolicy, buf []byte)

func (*CachePolicyEncoder) Init

func (encoder *CachePolicyEncoder) Init(value *CachePolicy)

type CachePolicyParsingContext

type CachePolicyParsingContext struct {
}

func (*CachePolicyParsingContext) Init

func (context *CachePolicyParsingContext) Init()

func (*CachePolicyParsingContext) Parse

func (context *CachePolicyParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*CachePolicy, error)

type CertAdditionalDescription

type CertAdditionalDescription struct {
	//+field:sequence:*CertDescriptionEntry:struct:CertDescriptionEntry
	DescriptionEntries []*CertDescriptionEntry `tlv:"0x0200"`
}

func ParseCertAdditionalDescription

func ParseCertAdditionalDescription(reader enc.ParseReader, ignoreCritical bool) (*CertAdditionalDescription, error)

func (*CertAdditionalDescription) Bytes

func (value *CertAdditionalDescription) Bytes() []byte

func (*CertAdditionalDescription) Encode

func (value *CertAdditionalDescription) Encode() enc.Wire

type CertAdditionalDescriptionEncoder

type CertAdditionalDescriptionEncoder struct {
	DescriptionEntries_subencoder []struct {
		DescriptionEntries_encoder CertDescriptionEntryEncoder
	}
	// contains filtered or unexported fields
}

func (*CertAdditionalDescriptionEncoder) Encode

func (*CertAdditionalDescriptionEncoder) EncodeInto

func (encoder *CertAdditionalDescriptionEncoder) EncodeInto(value *CertAdditionalDescription, buf []byte)

func (*CertAdditionalDescriptionEncoder) Init

type CertAdditionalDescriptionParsingContext

type CertAdditionalDescriptionParsingContext struct {
	DescriptionEntries_context CertDescriptionEntryParsingContext
}

func (*CertAdditionalDescriptionParsingContext) Init

func (*CertAdditionalDescriptionParsingContext) Parse

type CertDescriptionEntry

type CertDescriptionEntry struct {
	//+field:string
	DescriptionKey string `tlv:"0x0201"`
	//+field:string
	DescriptionValue string `tlv:"0x0202"`
}

func ParseCertDescriptionEntry

func ParseCertDescriptionEntry(reader enc.ParseReader, ignoreCritical bool) (*CertDescriptionEntry, error)

func (*CertDescriptionEntry) Bytes

func (value *CertDescriptionEntry) Bytes() []byte

func (*CertDescriptionEntry) Encode

func (value *CertDescriptionEntry) Encode() enc.Wire

type CertDescriptionEntryEncoder

type CertDescriptionEntryEncoder struct {
	// contains filtered or unexported fields
}

func (*CertDescriptionEntryEncoder) Encode

func (encoder *CertDescriptionEntryEncoder) Encode(value *CertDescriptionEntry) enc.Wire

func (*CertDescriptionEntryEncoder) EncodeInto

func (encoder *CertDescriptionEntryEncoder) EncodeInto(value *CertDescriptionEntry, buf []byte)

func (*CertDescriptionEntryEncoder) Init

func (encoder *CertDescriptionEntryEncoder) Init(value *CertDescriptionEntry)

type CertDescriptionEntryParsingContext

type CertDescriptionEntryParsingContext struct {
}

func (*CertDescriptionEntryParsingContext) Init

func (context *CertDescriptionEntryParsingContext) Init()

func (*CertDescriptionEntryParsingContext) Parse

func (context *CertDescriptionEntryParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*CertDescriptionEntry, error)

type Data

type Data struct {

	//+field:name
	NameV enc.Name `tlv:"0x07"`
	//+field:struct:MetaInfo
	MetaInfo *MetaInfo `tlv:"0x14"`
	//+field:wire
	ContentV enc.Wire `tlv:"0x15"`
	//+field:struct:SignatureInfo
	SignatureInfo *SignatureInfo `tlv:"0x16"`
	//+field:signature:sigCoverStart:sigCovered
	SignatureValue enc.Wire `tlv:"0x17"`
	// contains filtered or unexported fields
}

+tlv-model:nocopy,private

func (*Data) Content

func (d *Data) Content() enc.Wire

func (*Data) ContentType

func (d *Data) ContentType() *ndn.ContentType

func (*Data) FinalBlockID

func (d *Data) FinalBlockID() *enc.Component

func (*Data) Freshness

func (d *Data) Freshness() *time.Duration

func (*Data) KeyName

func (d *Data) KeyName() enc.Name

func (*Data) Name

func (d *Data) Name() enc.Name

func (*Data) SetSigTime

func (d *Data) SetSigTime(t *time.Time) error

func (*Data) SigNonce

func (d *Data) SigNonce() []byte

func (*Data) SigSeqNum

func (d *Data) SigSeqNum() *uint64

func (*Data) SigTime

func (d *Data) SigTime() *time.Time

func (*Data) SigType

func (d *Data) SigType() ndn.SigType

func (*Data) SigValue

func (d *Data) SigValue() []byte

func (*Data) Signature

func (d *Data) Signature() ndn.Signature

func (*Data) Validity

func (d *Data) Validity() (notBefore, notAfter *time.Time)

type DataEncoder

type DataEncoder struct {
	NameV_length           uint
	MetaInfo_encoder       MetaInfoEncoder
	ContentV_length        uint
	SignatureInfo_encoder  SignatureInfoEncoder
	SignatureValue_wireIdx int
	SignatureValue_estLen  uint
	// contains filtered or unexported fields
}

func (*DataEncoder) Encode

func (encoder *DataEncoder) Encode(value *Data) enc.Wire

func (*DataEncoder) EncodeInto

func (encoder *DataEncoder) EncodeInto(value *Data, wire enc.Wire)

func (*DataEncoder) Init

func (encoder *DataEncoder) Init(value *Data)

type DataParsingContext

type DataParsingContext struct {
	MetaInfo_context MetaInfoParsingContext

	SignatureInfo_context SignatureInfoParsingContext
	// contains filtered or unexported fields
}

func (*DataParsingContext) Init

func (context *DataParsingContext) Init()

func (*DataParsingContext) Parse

func (context *DataParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*Data, error)

func (DataParsingContext) SigCovered

func (c DataParsingContext) SigCovered() enc.Wire

type Interest

type Interest struct {

	//+field:interestName:sigCovered
	NameV enc.Name `tlv:"0x07"`
	//+field:bool
	CanBePrefixV bool `tlv:"0x21"`
	//+field:bool
	MustBeFreshV bool `tlv:"0x12"`
	//+field:struct:Links
	ForwardingHintV *Links `tlv:"0x1e"`
	//+field:fixedUint:uint32:optional
	NonceV *uint32 `tlv:"0x0a"`
	//+field:time:optional
	InterestLifetimeV *time.Duration `tlv:"0x0c"`
	//+field:fixedUint:byte:optional
	HopLimitV *byte `tlv:"0x22"`

	//+field:wire
	ApplicationParameters enc.Wire `tlv:"0x24"`
	//+field:struct:SignatureInfo
	SignatureInfo *SignatureInfo `tlv:"0x2c"`
	//+field:signature:sigCoverStart:sigCovered
	SignatureValue enc.Wire `tlv:"0x2e"`
	// contains filtered or unexported fields
}

+tlv-model:nocopy,private

func (*Interest) AppParam

func (t *Interest) AppParam() enc.Wire

func (*Interest) CanBePrefix

func (t *Interest) CanBePrefix() bool

func (*Interest) ForwardingHint

func (t *Interest) ForwardingHint() []enc.Name

func (*Interest) HopLimit

func (t *Interest) HopLimit() *uint

func (*Interest) KeyName

func (t *Interest) KeyName() enc.Name

func (*Interest) Lifetime

func (t *Interest) Lifetime() *time.Duration

func (*Interest) MustBeFresh

func (t *Interest) MustBeFresh() bool

func (*Interest) Name

func (t *Interest) Name() enc.Name

func (*Interest) Nonce

func (t *Interest) Nonce() *uint64

func (*Interest) SigNonce

func (t *Interest) SigNonce() []byte

func (*Interest) SigSeqNum

func (t *Interest) SigSeqNum() *uint64

func (*Interest) SigTime

func (t *Interest) SigTime() *time.Time

func (*Interest) SigType

func (t *Interest) SigType() ndn.SigType

func (*Interest) SigValue

func (t *Interest) SigValue() []byte

func (*Interest) Signature

func (t *Interest) Signature() ndn.Signature

func (*Interest) Validity

func (t *Interest) Validity() (notBefore, notAfter *time.Time)

type InterestEncoder

type InterestEncoder struct {
	NameV_length     uint
	NameV_needDigest bool
	NameV_wireIdx    int
	NameV_pos        uint

	ForwardingHintV_encoder LinksEncoder

	ApplicationParameters_length uint
	SignatureInfo_encoder        SignatureInfoEncoder
	SignatureValue_wireIdx       int
	SignatureValue_estLen        uint
	// contains filtered or unexported fields
}

func (*InterestEncoder) Encode

func (encoder *InterestEncoder) Encode(value *Interest) enc.Wire

func (*InterestEncoder) EncodeInto

func (encoder *InterestEncoder) EncodeInto(value *Interest, wire enc.Wire)

func (*InterestEncoder) Init

func (encoder *InterestEncoder) Init(value *Interest)

type InterestParsingContext

type InterestParsingContext struct {
	NameV_wireIdx int
	NameV_pos     uint

	ForwardingHintV_context LinksParsingContext

	SignatureInfo_context SignatureInfoParsingContext
	// contains filtered or unexported fields
}

func (*InterestParsingContext) Init

func (context *InterestParsingContext) Init()

func (*InterestParsingContext) Parse

func (context *InterestParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*Interest, error)

func (InterestParsingContext) SigCovered

func (c InterestParsingContext) SigCovered() enc.Wire

type KeyLocator

type KeyLocator struct {
	//+field:name
	Name enc.Name `tlv:"0x07"`
	//+field:binary
	KeyDigest []byte `tlv:"0x1d"`
}

func ParseKeyLocator

func ParseKeyLocator(reader enc.ParseReader, ignoreCritical bool) (*KeyLocator, error)

func (*KeyLocator) Bytes

func (value *KeyLocator) Bytes() []byte

func (*KeyLocator) Encode

func (value *KeyLocator) Encode() enc.Wire

type KeyLocatorEncoder

type KeyLocatorEncoder struct {
	Name_length uint
	// contains filtered or unexported fields
}

func (*KeyLocatorEncoder) Encode

func (encoder *KeyLocatorEncoder) Encode(value *KeyLocator) enc.Wire

func (*KeyLocatorEncoder) EncodeInto

func (encoder *KeyLocatorEncoder) EncodeInto(value *KeyLocator, buf []byte)

func (*KeyLocatorEncoder) Init

func (encoder *KeyLocatorEncoder) Init(value *KeyLocator)

type KeyLocatorParsingContext

type KeyLocatorParsingContext struct {
}

func (*KeyLocatorParsingContext) Init

func (context *KeyLocatorParsingContext) Init()

func (*KeyLocatorParsingContext) Parse

func (context *KeyLocatorParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*KeyLocator, error)
type Links struct {
	//+field:sequence:enc.Name:name
	Names []enc.Name `tlv:"0x07"`
}
func ParseLinks(reader enc.ParseReader, ignoreCritical bool) (*Links, error)

func (*Links) Bytes

func (value *Links) Bytes() []byte

func (*Links) Encode

func (value *Links) Encode() enc.Wire

type LinksEncoder

type LinksEncoder struct {
	Names_subencoder []struct {
		Names_length uint
	}
	// contains filtered or unexported fields
}

func (*LinksEncoder) Encode

func (encoder *LinksEncoder) Encode(value *Links) enc.Wire

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 LpPacket

type LpPacket struct {
	//+field:fixedUint:uint64:optional
	Sequence *uint64 `tlv:"0x51"`
	//+field:natural:optional
	FragIndex *uint64 `tlv:"0x52"`
	//+field:natural:optional
	FragCount *uint64 `tlv:"0x53"`
	//+field:binary
	PitToken []byte `tlv:"0x62"`
	//+field:struct:NetworkNack
	Nack *NetworkNack `tlv:"0x0320"`
	//+field:natural:optional
	IncomingFaceId *uint64 `tlv:"0x032C"`
	//+field:natural:optional
	NextHopFaceId *uint64 `tlv:"0x0330"`
	//+field:struct:CachePolicy
	CachePolicy *CachePolicy `tlv:"0x0334"`
	//+field:natural:optional
	CongestionMark *uint64 `tlv:"0x0340"`
	//+field:fixedUint:uint64:optional
	Ack *uint64 `tlv:"0x0344"`
	//+field:fixedUint:uint64:optional
	TxSequence *uint64 `tlv:"0x0348"`
	//+field:bool
	NonDiscovery bool `tlv:"0x034C"`
	//+field:wire
	PrefixAnnouncement enc.Wire `tlv:"0x0350"`

	//+field:wire
	Fragment enc.Wire `tlv:"0x50"`
}

+tlv-model:nocopy,private

type LpPacketEncoder

type LpPacketEncoder struct {
	Nack_encoder NetworkNackEncoder

	CachePolicy_encoder CachePolicyEncoder

	PrefixAnnouncement_length uint
	Fragment_length           uint
	// contains filtered or unexported fields
}

func (*LpPacketEncoder) Encode

func (encoder *LpPacketEncoder) Encode(value *LpPacket) enc.Wire

func (*LpPacketEncoder) EncodeInto

func (encoder *LpPacketEncoder) EncodeInto(value *LpPacket, wire enc.Wire)

func (*LpPacketEncoder) Init

func (encoder *LpPacketEncoder) Init(value *LpPacket)

type LpPacketParsingContext

type LpPacketParsingContext struct {
	Nack_context NetworkNackParsingContext

	CachePolicy_context CachePolicyParsingContext
}

func (*LpPacketParsingContext) Init

func (context *LpPacketParsingContext) Init()

func (*LpPacketParsingContext) Parse

func (context *LpPacketParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*LpPacket, error)

type MetaInfo

type MetaInfo struct {
	//+field:natural:optional
	ContentType *uint64 `tlv:"0x18"`
	//+field:time:optional
	FreshnessPeriod *time.Duration `tlv:"0x19"`
	//+field:binary
	FinalBlockID []byte `tlv:"0x1a"`
}

func ParseMetaInfo

func ParseMetaInfo(reader enc.ParseReader, ignoreCritical bool) (*MetaInfo, error)

func (*MetaInfo) Bytes

func (value *MetaInfo) Bytes() []byte

func (*MetaInfo) Encode

func (value *MetaInfo) Encode() enc.Wire

type MetaInfoEncoder

type MetaInfoEncoder struct {
	// contains filtered or unexported fields
}

func (*MetaInfoEncoder) Encode

func (encoder *MetaInfoEncoder) Encode(value *MetaInfo) enc.Wire

func (*MetaInfoEncoder) EncodeInto

func (encoder *MetaInfoEncoder) EncodeInto(value *MetaInfo, buf []byte)

func (*MetaInfoEncoder) Init

func (encoder *MetaInfoEncoder) Init(value *MetaInfo)

type MetaInfoParsingContext

type MetaInfoParsingContext struct {
}

func (*MetaInfoParsingContext) Init

func (context *MetaInfoParsingContext) Init()

func (*MetaInfoParsingContext) Parse

func (context *MetaInfoParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*MetaInfo, error)

type NetworkNack

type NetworkNack struct {
	//+field:natural
	Reason uint64 `tlv:"0x0321"`
}

func ParseNetworkNack

func ParseNetworkNack(reader enc.ParseReader, ignoreCritical bool) (*NetworkNack, error)

func (*NetworkNack) Bytes

func (value *NetworkNack) Bytes() []byte

func (*NetworkNack) Encode

func (value *NetworkNack) Encode() enc.Wire

type NetworkNackEncoder

type NetworkNackEncoder struct {
	// contains filtered or unexported fields
}

func (*NetworkNackEncoder) Encode

func (encoder *NetworkNackEncoder) Encode(value *NetworkNack) enc.Wire

func (*NetworkNackEncoder) EncodeInto

func (encoder *NetworkNackEncoder) EncodeInto(value *NetworkNack, buf []byte)

func (*NetworkNackEncoder) Init

func (encoder *NetworkNackEncoder) Init(value *NetworkNack)

type NetworkNackParsingContext

type NetworkNackParsingContext struct {
}

func (*NetworkNackParsingContext) Init

func (context *NetworkNackParsingContext) Init()

func (*NetworkNackParsingContext) Parse

func (context *NetworkNackParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*NetworkNack, error)

type Packet

type Packet struct {
	//+field:struct:Interest:nocopy
	Interest *Interest `tlv:"0x05"`
	//+field:struct:Data:nocopy
	Data *Data `tlv:"0x06"`
	//+field:struct:LpPacket:nocopy
	LpPacket *LpPacket `tlv:"0x64"`
}

+tlv-model:nocopy,private

type PacketEncoder

type PacketEncoder struct {
	Interest_encoder InterestEncoder
	Data_encoder     DataEncoder
	LpPacket_encoder LpPacketEncoder
	// contains filtered or unexported fields
}

func (*PacketEncoder) Encode

func (encoder *PacketEncoder) Encode(value *Packet) enc.Wire

func (*PacketEncoder) EncodeInto

func (encoder *PacketEncoder) EncodeInto(value *Packet, wire enc.Wire)

func (*PacketEncoder) Init

func (encoder *PacketEncoder) Init(value *Packet)

type PacketParsingContext

type PacketParsingContext struct {
	Interest_context InterestParsingContext
	Data_context     DataParsingContext
	LpPacket_context LpPacketParsingContext
}

func (*PacketParsingContext) Init

func (context *PacketParsingContext) Init()

func (*PacketParsingContext) Parse

func (context *PacketParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*Packet, error)

type SignatureInfo

type SignatureInfo struct {
	//+field:natural
	SignatureType uint64 `tlv:"0x1b"`
	//+field:struct:KeyLocator
	KeyLocator *KeyLocator `tlv:"0x1c"`
	//+field:binary
	SignatureNonce []byte `tlv:"0x26"`
	//+field:time:optional
	SignatureTime *time.Duration `tlv:"0x28"`
	//+field:natural:optional
	SignatureSeqNum *uint64 `tlv:"0x2a"`
	//+field:struct:ValidityPeriod
	ValidityPeriod *ValidityPeriod `tlv:"0xfd"`
	//+field:struct:CertAdditionalDescription
	AdditionalDescription *CertAdditionalDescription `tlv:"0x0102"`
}

func ParseSignatureInfo

func ParseSignatureInfo(reader enc.ParseReader, ignoreCritical bool) (*SignatureInfo, error)

func (*SignatureInfo) Bytes

func (value *SignatureInfo) Bytes() []byte

func (*SignatureInfo) Encode

func (value *SignatureInfo) Encode() enc.Wire

type SignatureInfoEncoder

type SignatureInfoEncoder struct {
	KeyLocator_encoder KeyLocatorEncoder

	ValidityPeriod_encoder        ValidityPeriodEncoder
	AdditionalDescription_encoder CertAdditionalDescriptionEncoder
	// contains filtered or unexported fields
}

func (*SignatureInfoEncoder) Encode

func (encoder *SignatureInfoEncoder) Encode(value *SignatureInfo) enc.Wire

func (*SignatureInfoEncoder) EncodeInto

func (encoder *SignatureInfoEncoder) EncodeInto(value *SignatureInfo, buf []byte)

func (*SignatureInfoEncoder) Init

func (encoder *SignatureInfoEncoder) Init(value *SignatureInfo)

type SignatureInfoParsingContext

type SignatureInfoParsingContext struct {
	KeyLocator_context KeyLocatorParsingContext

	ValidityPeriod_context        ValidityPeriodParsingContext
	AdditionalDescription_context CertAdditionalDescriptionParsingContext
}

func (*SignatureInfoParsingContext) Init

func (context *SignatureInfoParsingContext) Init()

func (*SignatureInfoParsingContext) Parse

func (context *SignatureInfoParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*SignatureInfo, error)

type Spec

type Spec struct{}

func (Spec) EncodeSigInfo

func (_ Spec) EncodeSigInfo(config *ndn.SigConfig) ([]byte, error)

func (Spec) MakeData

func (_ Spec) MakeData(
	name enc.Name, config *ndn.DataConfig, content enc.Wire, signer ndn.Signer,
) (enc.Wire, enc.Wire, error)

func (Spec) MakeInterest

func (_ Spec) MakeInterest(
	name enc.Name, config *ndn.InterestConfig, appParam enc.Wire, signer ndn.Signer,
) (enc.Wire, enc.Wire, enc.Name, error)

func (Spec) ReadData

func (Spec) ReadData(reader enc.ParseReader) (ndn.Data, enc.Wire, error)

func (Spec) ReadInterest

func (_ Spec) ReadInterest(reader enc.ParseReader) (ndn.Interest, enc.Wire, error)

type ValidityPeriod

type ValidityPeriod struct {
	//+field:string
	NotBefore string `tlv:"0xfe"`
	//+field:string
	NotAfter string `tlv:"0xff"`
}

func ParseValidityPeriod

func ParseValidityPeriod(reader enc.ParseReader, ignoreCritical bool) (*ValidityPeriod, error)

func (*ValidityPeriod) Bytes

func (value *ValidityPeriod) Bytes() []byte

func (*ValidityPeriod) Encode

func (value *ValidityPeriod) Encode() enc.Wire

type ValidityPeriodEncoder

type ValidityPeriodEncoder struct {
	// contains filtered or unexported fields
}

func (*ValidityPeriodEncoder) Encode

func (encoder *ValidityPeriodEncoder) Encode(value *ValidityPeriod) enc.Wire

func (*ValidityPeriodEncoder) EncodeInto

func (encoder *ValidityPeriodEncoder) EncodeInto(value *ValidityPeriod, buf []byte)

func (*ValidityPeriodEncoder) Init

func (encoder *ValidityPeriodEncoder) Init(value *ValidityPeriod)

type ValidityPeriodParsingContext

type ValidityPeriodParsingContext struct {
}

func (*ValidityPeriodParsingContext) Init

func (context *ValidityPeriodParsingContext) Init()

func (*ValidityPeriodParsingContext) Parse

func (context *ValidityPeriodParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*ValidityPeriod, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL