NM.DeviceMacsec

g GObject.Object GObject.Object NM.Object NM.Object GObject.Object->NM.Object NM.Device NM.Device NM.DeviceMacsec NM.DeviceMacsec NM.Device->NM.DeviceMacsec NM.Object->NM.Device

Subclasses:

None

Methods

Inherited:

NM.Device (54), NM.Object (2), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_cipher_suite ()

get_encoding_sa ()

get_encrypt ()

get_es ()

get_icv_length ()

get_include_sci ()

get_parent ()

get_protect ()

get_replay_protect ()

get_scb ()

get_sci ()

get_validation ()

get_window ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Device (32), NM.Object (2)

Name

Type

Flags

Short Description

cipher-suite

int

r

encoding-sa

r

encrypt

bool

r

es

bool

r

icv-length

r

include-sci

bool

r

parent

NM.Device

r

protect

bool

r

replay-protect

bool

r

scb

bool

r

sci

int

r

validation

str

r

window

int

r

Signals

Inherited:

NM.Device (1), GObject.Object (1)

Fields

Inherited:

NM.Device (1), GObject.Object (1)

Class Details

class NM.DeviceMacsec(**kwargs)
Bases:

NM.Device

Abstract:

No

Structure:

NM.DeviceMacsecClass

New in version 1.6.

get_cipher_suite()
Returns:

the set of cryptographic algorithms in use

Return type:

int

Gets the set of cryptographic algorithms in use

New in version 1.6.

get_encoding_sa()
Returns:

the current Security Association

Return type:

int

Gets the value of the Association Number (0..3) for the Security Association in use.

New in version 1.6.

get_encrypt()
Returns:

whether encryption is enabled

Return type:

bool

Gets whether encryption of transmitted frames is enabled

New in version 1.6.

get_es()
Returns:

whether the ES (End station) bit is enabled

Return type:

bool

Gets whether the ES (End station) bit is enabled in SecTAG for transmitted frames

New in version 1.6.

get_icv_length()
Returns:

the length of ICV

Return type:

int

Gets the length of ICV (Integrity Check Value)

New in version 1.6.

get_include_sci()
Returns:

whether the SCI is always included

Return type:

bool

Gets whether the SCI is always included in SecTAG for transmitted frames

New in version 1.6.

get_parent()
Returns:

the device’s parent device

Return type:

NM.Device

New in version 1.42.

get_protect()
Returns:

whether protection is enabled

Return type:

bool

Gets whether protection of transmitted frames is enabled

New in version 1.6.

get_replay_protect()
Returns:

whether replay protection is enabled

Return type:

bool

Gets whether replay protection is enabled

New in version 1.6.

get_scb()
Returns:

whether the SCB (Single Copy Broadcast) bit is enabled

Return type:

bool

Gets whether the SCB (Single Copy Broadcast) bit is enabled in SecTAG for transmitted frames

New in version 1.6.

get_sci()
Returns:

the SCI

Return type:

int

Gets the Secure Channel Identifier in use

New in version 1.6.

get_validation()
Returns:

the validation mode

Return type:

str

Gets the validation mode for incoming packets (strict, check, disabled)

New in version 1.6.

get_window()
Returns:

size of the replay window

Return type:

int

Gets the size of the replay window

New in version 1.6.

Property Details

NM.DeviceMacsec.props.cipher_suite
Name:

cipher-suite

Type:

int

Default Value:

0

Flags:

READABLE

The set of cryptographic algorithms in use.

New in version 1.6.

NM.DeviceMacsec.props.encoding_sa
Name:

encoding-sa

Type:

Default Value:

0

Flags:

READABLE

The value of the Association Number (0..3) for the Security Association in use.

New in version 1.6.

NM.DeviceMacsec.props.encrypt
Name:

encrypt

Type:

bool

Default Value:

False

Flags:

READABLE

Whether encryption of transmitted frames is enabled.

New in version 1.6.

NM.DeviceMacsec.props.es
Name:

es

Type:

bool

Default Value:

False

Flags:

READABLE

Whether the ES (End station) bit is enabled in SecTAG for transmitted frames.

New in version 1.6.

NM.DeviceMacsec.props.icv_length
Name:

icv-length

Type:

Default Value:

0

Flags:

READABLE

The length of ICV (Integrity Check Value).

New in version 1.6.

NM.DeviceMacsec.props.include_sci
Name:

include-sci

Type:

bool

Default Value:

False

Flags:

READABLE

Whether the SCI is always included in SecTAG for transmitted frames.

New in version 1.6.

NM.DeviceMacsec.props.parent
Name:

parent

Type:

NM.Device

Default Value:

None

Flags:

READABLE

The devices’s parent device.

New in version 1.6.

NM.DeviceMacsec.props.protect
Name:

protect

Type:

bool

Default Value:

False

Flags:

READABLE

Whether protection of transmitted frames is enabled.

New in version 1.6.

NM.DeviceMacsec.props.replay_protect
Name:

replay-protect

Type:

bool

Default Value:

False

Flags:

READABLE

Whether replay protection is enabled.

New in version 1.6.

NM.DeviceMacsec.props.scb
Name:

scb

Type:

bool

Default Value:

False

Flags:

READABLE

Whether the SCB (Single Copy Broadcast) bit is enabled in SecTAG for transmitted frames.

New in version 1.6.

NM.DeviceMacsec.props.sci
Name:

sci

Type:

int

Default Value:

0

Flags:

READABLE

The Secure Channel Identifier in use.

New in version 1.6.

NM.DeviceMacsec.props.validation
Name:

validation

Type:

str

Default Value:

None

Flags:

READABLE

The validation mode for incoming packets (strict, check, disabled).

New in version 1.6.

NM.DeviceMacsec.props.window
Name:

window

Type:

int

Default Value:

0

Flags:

READABLE

The size of the replay window.

New in version 1.6.