Modmka Module

class mtf.libs.mtf_pybinder.modmka.AccessInformationTLV
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.AccessInformationTLV) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.AccessInformationTLV, arg0: list[int]) -> None

__new__(**kwargs)
property ac_eap
property ac_eap_mka
property ac_eap_mka_macsec
property ac_higher_layer
property ac_higher_layer_fallback
property ac_mka
property ac_mka_macsec
property ac_vendor_specific
property access_requested
property access_status
property group_access
property length
property reserved
property type
property unauthenticated_access
property value
property virtual_port_access
class mtf.libs.mtf_pybinder.modmka.Announcement
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.Announcement) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.Announcement, arg0: list[int]) -> None

__new__(**kwargs)
property length
property name
property parameter_set_type
property tlvlist
class mtf.libs.mtf_pybinder.modmka.BasicParameterSet
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.BasicParameterSet) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.BasicParameterSet, arg0: list[int]) -> None

__new__(**kwargs)
property actor_member_identifier
property actor_message_number
property algorithm_agility
property cak_name

Preshared key name

property key_server
property key_server_priority
property length
property macsec_capability
property macsec_desired
property mka_version
property name
property parameter_set_type
property sci

Secure channel identifier

class mtf.libs.mtf_pybinder.modmka.CipherTLV
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.CipherTLV) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.CipherTLV, arg0: list[int]) -> None

__new__(**kwargs)
property length
property suites
property type
property value
class mtf.libs.mtf_pybinder.modmka.DistributedCAK
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.DistributedCAK) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.DistributedCAK, arg0: list[int]) -> None

__new__(**kwargs)
property key_name
property key_wrap
property length
property name
property parameter_set_type
class mtf.libs.mtf_pybinder.modmka.DistributedSAK
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.DistributedSAK) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.DistributedSAK, arg0: list[int]) -> None

__new__(**kwargs)
property cipher_suite
property confidentiality_offset
property distributed_an
property key_number
property key_wrap
property key_wrap_length
property length
property name
property parameter_set_type
class mtf.libs.mtf_pybinder.modmka.EapolMKA
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.EapolMKA) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.EapolMKA, arg0: list[int]) -> None

__new__(**kwargs)
property flagWrongICV

Boolean flag to detect if forwarded packet contains a wrong ICV or not

property icv

The icv of the packet. The ICV is the last part of the packet, but logically belongs to the mka header.

property length
property name
property parameter_sets

A list with all the parameter sets in the order that they are in their serialized form.

property type
property version
class mtf.libs.mtf_pybinder.modmka.Ethernet
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.Ethernet) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.Ethernet, arg0: str) -> None

__new__(**kwargs)
property dst_mac

Ethernet layer destination mac address

property src_mac

Ethernet layer source mac address

property type

Ethernet layer ethtype

class mtf.libs.mtf_pybinder.modmka.KeyManagementDomainTLV
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.KeyManagementDomainTLV) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.KeyManagementDomainTLV, arg0: list[int]) -> None

__new__(**kwargs)
property kmd_name
property length
property type
property value
class mtf.libs.mtf_pybinder.modmka.LivePeerList
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.LivePeerList) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.LivePeerList, arg0: list[int]) -> None

__new__(**kwargs)
property key_server_ssci
property length
property member_list

A list with all the Live peers in the order that they are in their serialized form.

property name
property parameter_set_type
class mtf.libs.mtf_pybinder.modmka.NetworkIdentityTLV
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.NetworkIdentityTLV) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.NetworkIdentityTLV, arg0: list[int]) -> None

__new__(**kwargs)
property length
property nid_name
property type
property value
class mtf.libs.mtf_pybinder.modmka.Packet
__init__(self: mtf.libs.mtf_pybinder.modmka.Packet) None
__new__(**kwargs)
property ethernet
property macsec
property mka
property vlan
class mtf.libs.mtf_pybinder.modmka.ParameterSetBase
__init__(*args, **kwargs)
__new__(**kwargs)
class mtf.libs.mtf_pybinder.modmka.PotentialPeerList
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.PotentialPeerList) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.PotentialPeerList, arg0: list[int]) -> None

__new__(**kwargs)
property key_server_ssci
property length
property member_list

A list with all the Potential peers in the order that they are in their serialized form.

property name
property parameter_set_type
class mtf.libs.mtf_pybinder.modmka.SakUse
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.SakUse) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.SakUse, arg0: list[int]) -> None

__new__(**kwargs)
property delay_protect
property latest_key_acceptable_pn
property latest_key_an
property latest_key_number
property latest_key_rx
property latest_key_sm_identifier
property latest_key_tx
property length
property name
property old_key_acceptable_pn
property old_key_an
property old_key_number
property old_key_rx
property old_key_sm_identifier
property old_key_tx
property parameter_set_type
property plain_rx
property plain_tx
class mtf.libs.mtf_pybinder.modmka.TLV
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.TLV) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.TLV, arg0: list[int]) -> None

__new__(**kwargs)
property length
property type
property value
class mtf.libs.mtf_pybinder.modmka.XPN
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: mtf.libs.mtf_pybinder.modmka.XPN) -> None

  2. __init__(self: mtf.libs.mtf_pybinder.modmka.XPN, arg0: list[int]) -> None

__new__(**kwargs)
property latest_lowest_acceptable_pn
property length
property mka_suspension_time
property name
property old_lowest_acceptable_pn
property parameter_set_type
mtf.libs.mtf_pybinder.modmka.get_mod_mka(arg0: mtf.libs.mtf_pybinder.pcpp.Packet) EapolMKA

Gets a modmka.EapolMKA from a pcpp.Packet

mtf.libs.mtf_pybinder.modmka.update_packet(arg0: mtf.libs.mtf_pybinder.pcpp.Packet, arg1: EapolMKA) bool

Updates the pcpp Packet MKA layer with the passed MKA layer