uspnat

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type USPNAT

type USPNAT struct {
	SectionID   constants.SectionID
	Value       string
	CoreSegment USPNATCoreSegment
	GPCSegment  sections.CommonUSGPCSegment
}

func NewUSPNAT

func NewUSPNAT(encoded string) (USPNAT, error)

func (USPNAT) Encode

func (uspnat USPNAT) Encode(gpcIncluded bool) []byte

func (USPNAT) GetID

func (uspnat USPNAT) GetID() constants.SectionID

func (USPNAT) GetValue

func (uspnat USPNAT) GetValue() string

type USPNATCoreSegment

type USPNATCoreSegment struct {
	Version                             byte
	SharingNotice                       byte
	SaleOptOutNotice                    byte
	SharingOptOutNotice                 byte
	TargetedAdvertisingOptOutNotice     byte
	SensitiveDataProcessingOptOutNotice byte
	SensitiveDataLimitUseNotice         byte
	SaleOptOut                          byte
	SharingOptOut                       byte
	TargetedAdvertisingOptOut           byte
	SensitiveDataProcessing             []byte
	KnownChildSensitiveDataConsents     []byte
	PersonalDataConsents                byte
	MspaCoveredTransaction              byte
	MspaOptOutOptionMode                byte
	MspaServiceProviderMode             byte
}

func NewUSPNATCoreSegment

func NewUSPNATCoreSegment(bs *util.BitStream) (USPNATCoreSegment, error)

func (USPNATCoreSegment) Encode

func (segment USPNATCoreSegment) Encode(bs *util.BitStream)

Jump to

Keyboard shortcuts

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