types

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZigbeeCertificationType string = "zigbee"
	MatterCertificationType string = "matter"
	AccessControlType       string = "access control"
	ProductSecurityType     string = "product security"
)
View Source
const (
	CodeProvisional uint32 = 1
	CodeCertified   uint32 = 2
	CodeRevoked     uint32 = 3
)
View Source
const (
	ParentPFCCertificationRoute  = "parent"
	ChildPFCCertificationRoute   = "child"
	DefaultPFCCertificationRoute = ""
)

Variables

View Source
var (
	ErrInvalidLengthComplianceHistoryItem        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowComplianceHistoryItem          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupComplianceHistoryItem = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthComplianceInfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowComplianceInfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupComplianceInfo = fmt.Errorf("proto: unexpected end of group")
)

Functions

func IsValidCertificationType

func IsValidCertificationType(certificationType string) bool

func IsValidPFCCertificationRoute

func IsValidPFCCertificationRoute(certificationRoute string) bool

Types

type CertificationTypes

type CertificationTypes []string

List of Certification Types.

type ComplianceHistoryItem

type ComplianceHistoryItem struct {
	SoftwareVersionCertificationStatus uint32 `protobuf:"varint,1,opt,name=softwareVersionCertificationStatus,proto3" json:"softwareVersionCertificationStatus,omitempty"`
	Date                               string `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
	Reason                             string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	CDVersionNumber                    uint32 `protobuf:"varint,4,opt,name=cDVersionNumber,proto3" json:"cDVersionNumber,omitempty"`
}

func (*ComplianceHistoryItem) Descriptor

func (*ComplianceHistoryItem) Descriptor() ([]byte, []int)

func (*ComplianceHistoryItem) GetCDVersionNumber

func (m *ComplianceHistoryItem) GetCDVersionNumber() uint32

func (*ComplianceHistoryItem) GetDate

func (m *ComplianceHistoryItem) GetDate() string

func (*ComplianceHistoryItem) GetReason

func (m *ComplianceHistoryItem) GetReason() string

func (*ComplianceHistoryItem) GetSoftwareVersionCertificationStatus

func (m *ComplianceHistoryItem) GetSoftwareVersionCertificationStatus() uint32

func (*ComplianceHistoryItem) Marshal

func (m *ComplianceHistoryItem) Marshal() (dAtA []byte, err error)

func (*ComplianceHistoryItem) MarshalTo

func (m *ComplianceHistoryItem) MarshalTo(dAtA []byte) (int, error)

func (*ComplianceHistoryItem) MarshalToSizedBuffer

func (m *ComplianceHistoryItem) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ComplianceHistoryItem) ProtoMessage

func (*ComplianceHistoryItem) ProtoMessage()

func (*ComplianceHistoryItem) Reset

func (m *ComplianceHistoryItem) Reset()

func (*ComplianceHistoryItem) Size

func (m *ComplianceHistoryItem) Size() (n int)

func (*ComplianceHistoryItem) String

func (m *ComplianceHistoryItem) String() string

func (*ComplianceHistoryItem) Unmarshal

func (m *ComplianceHistoryItem) Unmarshal(dAtA []byte) error

func (*ComplianceHistoryItem) XXX_DiscardUnknown

func (m *ComplianceHistoryItem) XXX_DiscardUnknown()

func (*ComplianceHistoryItem) XXX_Marshal

func (m *ComplianceHistoryItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComplianceHistoryItem) XXX_Merge

func (m *ComplianceHistoryItem) XXX_Merge(src proto.Message)

func (*ComplianceHistoryItem) XXX_Size

func (m *ComplianceHistoryItem) XXX_Size() int

func (*ComplianceHistoryItem) XXX_Unmarshal

func (m *ComplianceHistoryItem) XXX_Unmarshal(b []byte) error

type ComplianceInfo

type ComplianceInfo struct {
	Vid                                int32                    `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
	Pid                                int32                    `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	SoftwareVersion                    uint32                   `protobuf:"varint,3,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	CertificationType                  string                   `protobuf:"bytes,4,opt,name=certificationType,proto3" json:"certificationType,omitempty"`
	SoftwareVersionString              string                   `protobuf:"bytes,5,opt,name=softwareVersionString,proto3" json:"softwareVersionString,omitempty"`
	CDVersionNumber                    uint32                   `protobuf:"varint,6,opt,name=cDVersionNumber,proto3" json:"cDVersionNumber,omitempty"`
	SoftwareVersionCertificationStatus uint32                   `protobuf:"varint,7,opt,name=softwareVersionCertificationStatus,proto3" json:"softwareVersionCertificationStatus,omitempty"`
	Date                               string                   `protobuf:"bytes,8,opt,name=date,proto3" json:"date,omitempty"`
	Reason                             string                   `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty"`
	Owner                              string                   `protobuf:"bytes,10,opt,name=owner,proto3" json:"owner,omitempty"`
	History                            []*ComplianceHistoryItem `protobuf:"bytes,11,rep,name=history,proto3" json:"history,omitempty"`
	CDCertificateId                    string                   `protobuf:"bytes,12,opt,name=cDCertificateId,proto3" json:"cDCertificateId,omitempty"`
	CertificationRoute                 string                   `protobuf:"bytes,13,opt,name=certificationRoute,proto3" json:"certificationRoute,omitempty"`
	ProgramType                        string                   `protobuf:"bytes,14,opt,name=programType,proto3" json:"programType,omitempty"`
	ProgramTypeVersion                 string                   `protobuf:"bytes,15,opt,name=programTypeVersion,proto3" json:"programTypeVersion,omitempty"`
	CompliantPlatformUsed              string                   `protobuf:"bytes,16,opt,name=compliantPlatformUsed,proto3" json:"compliantPlatformUsed,omitempty"`
	CompliantPlatformVersion           string                   `protobuf:"bytes,17,opt,name=compliantPlatformVersion,proto3" json:"compliantPlatformVersion,omitempty"`
	Transport                          string                   `protobuf:"bytes,18,opt,name=transport,proto3" json:"transport,omitempty"`
	FamilyId                           string                   `protobuf:"bytes,19,opt,name=familyId,proto3" json:"familyId,omitempty"`
	SupportedClusters                  string                   `protobuf:"bytes,20,opt,name=supportedClusters,proto3" json:"supportedClusters,omitempty"`
	OSVersion                          string                   `protobuf:"bytes,21,opt,name=OSVersion,proto3" json:"OSVersion,omitempty"`
	ParentChild                        string                   `protobuf:"bytes,22,opt,name=parentChild,proto3" json:"parentChild,omitempty"`
	CertificationIdOfSoftwareComponent string                   `protobuf:"bytes,23,opt,name=certificationIdOfSoftwareComponent,proto3" json:"certificationIdOfSoftwareComponent,omitempty"`
}

func (*ComplianceInfo) Descriptor

func (*ComplianceInfo) Descriptor() ([]byte, []int)

func (*ComplianceInfo) GetCDCertificateId

func (m *ComplianceInfo) GetCDCertificateId() string

func (*ComplianceInfo) GetCDVersionNumber

func (m *ComplianceInfo) GetCDVersionNumber() uint32

func (*ComplianceInfo) GetCertificationIdOfSoftwareComponent

func (m *ComplianceInfo) GetCertificationIdOfSoftwareComponent() string

func (*ComplianceInfo) GetCertificationRoute

func (m *ComplianceInfo) GetCertificationRoute() string

func (*ComplianceInfo) GetCertificationType

func (m *ComplianceInfo) GetCertificationType() string

func (*ComplianceInfo) GetCompliantPlatformUsed

func (m *ComplianceInfo) GetCompliantPlatformUsed() string

func (*ComplianceInfo) GetCompliantPlatformVersion

func (m *ComplianceInfo) GetCompliantPlatformVersion() string

func (*ComplianceInfo) GetDate

func (m *ComplianceInfo) GetDate() string

func (*ComplianceInfo) GetFamilyId

func (m *ComplianceInfo) GetFamilyId() string

func (*ComplianceInfo) GetHistory

func (m *ComplianceInfo) GetHistory() []*ComplianceHistoryItem

func (*ComplianceInfo) GetOSVersion

func (m *ComplianceInfo) GetOSVersion() string

func (*ComplianceInfo) GetOwner

func (m *ComplianceInfo) GetOwner() string

func (*ComplianceInfo) GetParentChild

func (m *ComplianceInfo) GetParentChild() string

func (*ComplianceInfo) GetPid

func (m *ComplianceInfo) GetPid() int32

func (*ComplianceInfo) GetProgramType

func (m *ComplianceInfo) GetProgramType() string

func (*ComplianceInfo) GetProgramTypeVersion

func (m *ComplianceInfo) GetProgramTypeVersion() string

func (*ComplianceInfo) GetReason

func (m *ComplianceInfo) GetReason() string

func (*ComplianceInfo) GetSoftwareVersion

func (m *ComplianceInfo) GetSoftwareVersion() uint32

func (*ComplianceInfo) GetSoftwareVersionCertificationStatus

func (m *ComplianceInfo) GetSoftwareVersionCertificationStatus() uint32

func (*ComplianceInfo) GetSoftwareVersionString

func (m *ComplianceInfo) GetSoftwareVersionString() string

func (*ComplianceInfo) GetSupportedClusters

func (m *ComplianceInfo) GetSupportedClusters() string

func (*ComplianceInfo) GetTransport

func (m *ComplianceInfo) GetTransport() string

func (*ComplianceInfo) GetVid

func (m *ComplianceInfo) GetVid() int32

func (*ComplianceInfo) Marshal

func (m *ComplianceInfo) Marshal() (dAtA []byte, err error)

func (*ComplianceInfo) MarshalTo

func (m *ComplianceInfo) MarshalTo(dAtA []byte) (int, error)

func (*ComplianceInfo) MarshalToSizedBuffer

func (m *ComplianceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ComplianceInfo) ProtoMessage

func (*ComplianceInfo) ProtoMessage()

func (*ComplianceInfo) Reset

func (m *ComplianceInfo) Reset()

func (*ComplianceInfo) SetCertifiedStatus

func (d *ComplianceInfo) SetCertifiedStatus(date string, reason string, cdCertificateID string)

func (*ComplianceInfo) SetOptionalFields

func (d *ComplianceInfo) SetOptionalFields(optionalFields *OptionalFields)

func (*ComplianceInfo) SetRevokedStatus

func (d *ComplianceInfo) SetRevokedStatus(date string, reason string)

func (*ComplianceInfo) Size

func (m *ComplianceInfo) Size() (n int)

func (*ComplianceInfo) String

func (m *ComplianceInfo) String() string

func (*ComplianceInfo) Unmarshal

func (m *ComplianceInfo) Unmarshal(dAtA []byte) error

func (*ComplianceInfo) XXX_DiscardUnknown

func (m *ComplianceInfo) XXX_DiscardUnknown()

func (*ComplianceInfo) XXX_Marshal

func (m *ComplianceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComplianceInfo) XXX_Merge

func (m *ComplianceInfo) XXX_Merge(src proto.Message)

func (*ComplianceInfo) XXX_Size

func (m *ComplianceInfo) XXX_Size() int

func (*ComplianceInfo) XXX_Unmarshal

func (m *ComplianceInfo) XXX_Unmarshal(b []byte) error

type OptionalFields

type OptionalFields struct {
	ProgramTypeVersion                 string
	FamilyID                           string
	SupportedClusters                  string
	CompliantPlatformUsed              string
	CompliantPlatformVersion           string
	OSVersion                          string
	CertificationRoute                 string
	ProgramType                        string
	Transport                          string
	ParentChild                        string
	CertificationIDOfSoftwareComponent string
}

type PFCCertificationRoutes

type PFCCertificationRoutes []string

List of PFC Certification Routes.

Jump to

Keyboard shortcuts

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