security

package
v0.0.0-...-c4a4cf6 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

View Source
const CommandCommandsSupportedGet cc.CommandID = 0x02
View Source
const CommandCommandsSupportedReport cc.CommandID = 0x03
View Source
const CommandMessageEncapsulation cc.CommandID = 0x81
View Source
const CommandMessageEncapsulationNonceGet cc.CommandID = 0xC1
View Source
const CommandNetworkKeySet cc.CommandID = 0x06
View Source
const CommandNetworkKeyVerify cc.CommandID = 0x07
View Source
const CommandNonceGet cc.CommandID = 0x40
View Source
const CommandNonceReport cc.CommandID = 0x80
View Source
const CommandSchemeGet cc.CommandID = 0x04
View Source
const CommandSchemeInherit cc.CommandID = 0x08
View Source
const CommandSchemeReport cc.CommandID = 0x05

Variables

This section is empty.

Functions

func NewCommandsSupportedGet

func NewCommandsSupportedGet() cc.Command

func NewCommandsSupportedReport

func NewCommandsSupportedReport() cc.Command

func NewMessageEncapsulation

func NewMessageEncapsulation() cc.Command

func NewMessageEncapsulationNonceGet

func NewMessageEncapsulationNonceGet() cc.Command

func NewNetworkKeySet

func NewNetworkKeySet() cc.Command

func NewNetworkKeyVerify

func NewNetworkKeyVerify() cc.Command

func NewNonceGet

func NewNonceGet() cc.Command

func NewNonceReport

func NewNonceReport() cc.Command

func NewSchemeGet

func NewSchemeGet() cc.Command

func NewSchemeInherit

func NewSchemeInherit() cc.Command

func NewSchemeReport

func NewSchemeReport() cc.Command

Types

type CommandsSupportedGet

type CommandsSupportedGet struct {
}

<no value>

func (CommandsSupportedGet) CommandClassID

func (cmd CommandsSupportedGet) CommandClassID() cc.CommandClassID

func (CommandsSupportedGet) CommandID

func (cmd CommandsSupportedGet) CommandID() cc.CommandID

func (CommandsSupportedGet) CommandIDString

func (cmd CommandsSupportedGet) CommandIDString() string

func (*CommandsSupportedGet) MarshalBinary

func (cmd *CommandsSupportedGet) MarshalBinary() (payload []byte, err error)

func (*CommandsSupportedGet) UnmarshalBinary

func (cmd *CommandsSupportedGet) UnmarshalBinary(data []byte) error

type CommandsSupportedReport

type CommandsSupportedReport struct {
	ReportsToFollow byte

	CommandClassSupport []byte

	CommandClassControl []byte
}

<no value>

func (CommandsSupportedReport) CommandClassID

func (cmd CommandsSupportedReport) CommandClassID() cc.CommandClassID

func (CommandsSupportedReport) CommandID

func (cmd CommandsSupportedReport) CommandID() cc.CommandID

func (CommandsSupportedReport) CommandIDString

func (cmd CommandsSupportedReport) CommandIDString() string

func (*CommandsSupportedReport) MarshalBinary

func (cmd *CommandsSupportedReport) MarshalBinary() (payload []byte, err error)

func (*CommandsSupportedReport) UnmarshalBinary

func (cmd *CommandsSupportedReport) UnmarshalBinary(data []byte) error

type MessageEncapsulation

type MessageEncapsulation struct {
	InitializationVectorByte []byte

	Properties1 struct {
		SequenceCounter byte

		Sequenced bool

		SecondFrame bool
	}

	CommandByte []byte

	ReceiversNonceIdentifier byte

	MessageAuthenticationCodeByte []byte
}

<no value>

func (MessageEncapsulation) CommandClassID

func (cmd MessageEncapsulation) CommandClassID() cc.CommandClassID

func (MessageEncapsulation) CommandID

func (cmd MessageEncapsulation) CommandID() cc.CommandID

func (MessageEncapsulation) CommandIDString

func (cmd MessageEncapsulation) CommandIDString() string

func (*MessageEncapsulation) MarshalBinary

func (cmd *MessageEncapsulation) MarshalBinary() (payload []byte, err error)

func (*MessageEncapsulation) UnmarshalBinary

func (cmd *MessageEncapsulation) UnmarshalBinary(data []byte) error

type MessageEncapsulationNonceGet

type MessageEncapsulationNonceGet struct {
	InitializationVectorByte []byte

	Properties1 struct {
		SequenceCounter byte

		Sequenced bool

		SecondFrame bool
	}

	CommandByte []byte

	ReceiversNonceIdentifier byte

	MessageAuthenticationCodeByte []byte
}

<no value>

func (MessageEncapsulationNonceGet) CommandClassID

func (cmd MessageEncapsulationNonceGet) CommandClassID() cc.CommandClassID

func (MessageEncapsulationNonceGet) CommandID

func (cmd MessageEncapsulationNonceGet) CommandID() cc.CommandID

func (MessageEncapsulationNonceGet) CommandIDString

func (cmd MessageEncapsulationNonceGet) CommandIDString() string

func (*MessageEncapsulationNonceGet) MarshalBinary

func (cmd *MessageEncapsulationNonceGet) MarshalBinary() (payload []byte, err error)

func (*MessageEncapsulationNonceGet) UnmarshalBinary

func (cmd *MessageEncapsulationNonceGet) UnmarshalBinary(data []byte) error

type NetworkKeySet

type NetworkKeySet struct {
	NetworkKeyByte []byte
}

<no value>

func (NetworkKeySet) CommandClassID

func (cmd NetworkKeySet) CommandClassID() cc.CommandClassID

func (NetworkKeySet) CommandID

func (cmd NetworkKeySet) CommandID() cc.CommandID

func (NetworkKeySet) CommandIDString

func (cmd NetworkKeySet) CommandIDString() string

func (*NetworkKeySet) MarshalBinary

func (cmd *NetworkKeySet) MarshalBinary() (payload []byte, err error)

func (*NetworkKeySet) UnmarshalBinary

func (cmd *NetworkKeySet) UnmarshalBinary(data []byte) error

type NetworkKeyVerify

type NetworkKeyVerify struct {
}

<no value>

func (NetworkKeyVerify) CommandClassID

func (cmd NetworkKeyVerify) CommandClassID() cc.CommandClassID

func (NetworkKeyVerify) CommandID

func (cmd NetworkKeyVerify) CommandID() cc.CommandID

func (NetworkKeyVerify) CommandIDString

func (cmd NetworkKeyVerify) CommandIDString() string

func (*NetworkKeyVerify) MarshalBinary

func (cmd *NetworkKeyVerify) MarshalBinary() (payload []byte, err error)

func (*NetworkKeyVerify) UnmarshalBinary

func (cmd *NetworkKeyVerify) UnmarshalBinary(data []byte) error

type NonceGet

type NonceGet struct {
}

<no value>

func (NonceGet) CommandClassID

func (cmd NonceGet) CommandClassID() cc.CommandClassID

func (NonceGet) CommandID

func (cmd NonceGet) CommandID() cc.CommandID

func (NonceGet) CommandIDString

func (cmd NonceGet) CommandIDString() string

func (*NonceGet) MarshalBinary

func (cmd *NonceGet) MarshalBinary() (payload []byte, err error)

func (*NonceGet) UnmarshalBinary

func (cmd *NonceGet) UnmarshalBinary(data []byte) error

type NonceReport

type NonceReport struct {
	NonceByte []byte
}

<no value>

func (NonceReport) CommandClassID

func (cmd NonceReport) CommandClassID() cc.CommandClassID

func (NonceReport) CommandID

func (cmd NonceReport) CommandID() cc.CommandID

func (NonceReport) CommandIDString

func (cmd NonceReport) CommandIDString() string

func (*NonceReport) MarshalBinary

func (cmd *NonceReport) MarshalBinary() (payload []byte, err error)

func (*NonceReport) UnmarshalBinary

func (cmd *NonceReport) UnmarshalBinary(data []byte) error

type SchemeGet

type SchemeGet struct {
	SupportedSecuritySchemes byte
}

<no value>

func (SchemeGet) CommandClassID

func (cmd SchemeGet) CommandClassID() cc.CommandClassID

func (SchemeGet) CommandID

func (cmd SchemeGet) CommandID() cc.CommandID

func (SchemeGet) CommandIDString

func (cmd SchemeGet) CommandIDString() string

func (*SchemeGet) MarshalBinary

func (cmd *SchemeGet) MarshalBinary() (payload []byte, err error)

func (*SchemeGet) UnmarshalBinary

func (cmd *SchemeGet) UnmarshalBinary(data []byte) error

type SchemeInherit

type SchemeInherit struct {
	SupportedSecuritySchemes byte
}

<no value>

func (SchemeInherit) CommandClassID

func (cmd SchemeInherit) CommandClassID() cc.CommandClassID

func (SchemeInherit) CommandID

func (cmd SchemeInherit) CommandID() cc.CommandID

func (SchemeInherit) CommandIDString

func (cmd SchemeInherit) CommandIDString() string

func (*SchemeInherit) MarshalBinary

func (cmd *SchemeInherit) MarshalBinary() (payload []byte, err error)

func (*SchemeInherit) UnmarshalBinary

func (cmd *SchemeInherit) UnmarshalBinary(data []byte) error

type SchemeReport

type SchemeReport struct {
	SupportedSecuritySchemes byte
}

<no value>

func (SchemeReport) CommandClassID

func (cmd SchemeReport) CommandClassID() cc.CommandClassID

func (SchemeReport) CommandID

func (cmd SchemeReport) CommandID() cc.CommandID

func (SchemeReport) CommandIDString

func (cmd SchemeReport) CommandIDString() string

func (*SchemeReport) MarshalBinary

func (cmd *SchemeReport) MarshalBinary() (payload []byte, err error)

func (*SchemeReport) UnmarshalBinary

func (cmd *SchemeReport) UnmarshalBinary(data []byte) error

Jump to

Keyboard shortcuts

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