uspca

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 USPCA

type USPCA struct {
	SectionID   constants.SectionID
	Value       string
	CoreSegment USPCACoreSegment
	GPCSegment  sections.CommonUSGPCSegment
}

func NewUSPCA

func NewUSPCA(encoded string) (USPCA, error)

func (USPCA) Encode

func (uspca USPCA) Encode(gpcIncluded bool) []byte

func (USPCA) GetID

func (uspca USPCA) GetID() constants.SectionID

func (USPCA) GetValue

func (uspca USPCA) GetValue() string

type USPCACoreSegment

type USPCACoreSegment struct {
	Version                         byte
	SaleOptOutNotice                byte
	SharingOptOutNotice             byte
	SensitiveDataLimitUseNotice     byte
	SaleOptOut                      byte
	SharingOptOut                   byte
	SensitiveDataProcessing         []byte
	KnownChildSensitiveDataConsents []byte
	PersonalDataConsents            byte
	MspaCoveredTransaction          byte
	MspaOptOutOptionMode            byte
	MspaServiceProviderMode         byte
}

func NewUSPCACoreSegment

func NewUSPCACoreSegment(bs *util.BitStream) (USPCACoreSegment, error)

func (USPCACoreSegment) Encode

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

Jump to

Keyboard shortcuts

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