Documentation ¶
Overview ¶
Generated by the generator, DO NOT modify manually
Index ¶
- Constants
- func ReadPacket(reader enc.ParseReader) (*Packet, *PacketParsingContext, error)
- type CachePolicy
- type CachePolicyEncoder
- type CachePolicyParsingContext
- type CertAdditionalDescription
- type CertAdditionalDescriptionEncoder
- type CertAdditionalDescriptionParsingContext
- type CertDescriptionEntry
- type CertDescriptionEntryEncoder
- type CertDescriptionEntryParsingContext
- type Data
- func (d *Data) Content() enc.Wire
- func (d *Data) ContentType() *ndn.ContentType
- func (d *Data) FinalBlockID() *enc.Component
- func (d *Data) Freshness() *time.Duration
- func (d *Data) KeyName() enc.Name
- func (d *Data) Name() enc.Name
- func (d *Data) SetSigTime(t *time.Time) error
- func (d *Data) SigNonce() []byte
- func (d *Data) SigSeqNum() *uint64
- func (d *Data) SigTime() *time.Time
- func (d *Data) SigType() ndn.SigType
- func (d *Data) SigValue() []byte
- func (d *Data) Signature() ndn.Signature
- func (d *Data) Validity() (notBefore, notAfter *time.Time)
- type DataEncoder
- type DataParsingContext
- type Interest
- func (t *Interest) AppParam() enc.Wire
- func (t *Interest) CanBePrefix() bool
- func (t *Interest) ForwardingHint() []enc.Name
- func (t *Interest) HopLimit() *uint
- func (t *Interest) KeyName() enc.Name
- func (t *Interest) Lifetime() *time.Duration
- func (t *Interest) MustBeFresh() bool
- func (t *Interest) Name() enc.Name
- func (t *Interest) Nonce() *uint64
- func (t *Interest) SigNonce() []byte
- func (t *Interest) SigSeqNum() *uint64
- func (t *Interest) SigTime() *time.Time
- func (t *Interest) SigType() ndn.SigType
- func (t *Interest) SigValue() []byte
- func (t *Interest) Signature() ndn.Signature
- func (t *Interest) Validity() (notBefore, notAfter *time.Time)
- type InterestEncoder
- type InterestParsingContext
- type KeyLocator
- type KeyLocatorEncoder
- type KeyLocatorParsingContext
- type Links
- type LinksEncoder
- type LinksParsingContext
- type LpPacket
- type LpPacketEncoder
- type LpPacketParsingContext
- type MetaInfo
- type MetaInfoEncoder
- type MetaInfoParsingContext
- type NetworkNack
- type NetworkNackEncoder
- type NetworkNackParsingContext
- type Packet
- type PacketEncoder
- type PacketParsingContext
- type SignatureInfo
- type SignatureInfoEncoder
- type SignatureInfoParsingContext
- type Spec
- func (_ Spec) EncodeSigInfo(config *ndn.SigConfig) ([]byte, error)
- func (_ Spec) MakeData(name enc.Name, config *ndn.DataConfig, content enc.Wire, signer ndn.Signer) (enc.Wire, enc.Wire, error)
- func (_ Spec) MakeInterest(name enc.Name, config *ndn.InterestConfig, appParam enc.Wire, ...) (enc.Wire, enc.Wire, enc.Name, error)
- func (Spec) ReadData(reader enc.ParseReader) (ndn.Data, enc.Wire, error)
- func (_ Spec) ReadInterest(reader enc.ParseReader) (ndn.Interest, enc.Wire, error)
- type ValidityPeriod
- type ValidityPeriodEncoder
- type ValidityPeriodParsingContext
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 (encoder *CertAdditionalDescriptionEncoder) Encode(value *CertAdditionalDescription) enc.Wire
func (*CertAdditionalDescriptionEncoder) EncodeInto ¶
func (encoder *CertAdditionalDescriptionEncoder) EncodeInto(value *CertAdditionalDescription, buf []byte)
func (*CertAdditionalDescriptionEncoder) Init ¶
func (encoder *CertAdditionalDescriptionEncoder) Init(value *CertAdditionalDescription)
type CertAdditionalDescriptionParsingContext ¶
type CertAdditionalDescriptionParsingContext struct {
DescriptionEntries_context CertDescriptionEntryParsingContext
}
func (*CertAdditionalDescriptionParsingContext) Init ¶
func (context *CertAdditionalDescriptionParsingContext) Init()
func (*CertAdditionalDescriptionParsingContext) Parse ¶
func (context *CertAdditionalDescriptionParsingContext) Parse(reader enc.ParseReader, ignoreCritical bool) (*CertAdditionalDescription, error)
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) ContentType ¶
func (d *Data) ContentType() *ndn.ContentType
func (*Data) FinalBlockID ¶
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) 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) CanBePrefix ¶
func (*Interest) ForwardingHint ¶
func (*Interest) MustBeFresh ¶
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) 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 ¶
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 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) 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)
type MetaInfoEncoder ¶
type MetaInfoEncoder struct {
// contains filtered or unexported fields
}
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) 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) MakeInterest ¶
func (Spec) ReadInterest ¶
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)
Click to show internal directories.
Click to hide internal directories.