class SetKeyDescriptor

Defined at line 1534 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

IEEE Std 802.11-2020 6.3.19.1.2

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

SetKeyDescriptor & set_key (::std::vector<uint8_t> _value)
SetKeyDescriptor & set_key_id (uint16_t _value)
SetKeyDescriptor & set_key_type (::fuchsia::wlan::ieee80211::KeyType _value)
SetKeyDescriptor & set_peer_addr (::std::array<uint8_t, 6> _value)
SetKeyDescriptor & set_rsc (uint64_t _value)
SetKeyDescriptor & set_cipher_oui (::std::array<uint8_t, 3> _value)
SetKeyDescriptor & set_cipher_type (::fuchsia::wlan::ieee80211::CipherSuiteType _value)
void SetKeyDescriptor ()
void SetKeyDescriptor (SetKeyDescriptor && other)
void ~SetKeyDescriptor ()
SetKeyDescriptor & operator= (SetKeyDescriptor && other)
::std::unique_ptr<SetKeyDescriptor> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SetKeyDescriptor * _value, size_t _offset)
zx_status_t Clone (SetKeyDescriptor * _result)
const ::std::vector<uint8_t> & key ()

The key value as bytes.

802.11 specifies a bit string for this field, but we represent it as a byte array for

convenience.

Required.

Defined at line 1544 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

bool has_key ()

Defined at line 1548 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

::std::vector<uint8_t> * mutable_key ()

The key value as bytes.

802.11 specifies a bit string for this field, but we represent it as a byte array for

convenience.

Required.

Defined at line 1556 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

void clear_key ()

Defined at line 1564 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

const uint16_t & key_id ()

Index for rotating keys, e.g. group keys.

This value is always 0 for key types which aren't rotating, e.g. pairwise keys.

Required.

Defined at line 1575 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

bool has_key_id ()

Defined at line 1579 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

uint16_t * mutable_key_id ()

Index for rotating keys, e.g. group keys.

This value is always 0 for key types which aren't rotating, e.g. pairwise keys.

Required.

Defined at line 1586 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

void clear_key_id ()

Defined at line 1594 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

const ::fuchsia::wlan::ieee80211::KeyType & key_type ()

Whether this key is a pairwise, group or peer key.

Required.

Defined at line 1604 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

bool has_key_type ()

Defined at line 1608 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

::fuchsia::wlan::ieee80211::KeyType * mutable_key_type ()

Whether this key is a pairwise, group or peer key.

Required.

Defined at line 1614 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

void clear_key_type ()

Defined at line 1622 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

const ::std::array<uint8_t, 6> & peer_addr ()

The peer MAC address for pairwise and peer keys.

For group keys this value is always the broadcast address.

Required.

Defined at line 1633 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

bool has_peer_addr ()

Defined at line 1637 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

::std::array<uint8_t, 6> * mutable_peer_addr ()

The peer MAC address for pairwise and peer keys.

For group keys this value is always the broadcast address.

Required.

Defined at line 1644 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

void clear_peer_addr ()

Defined at line 1652 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

const uint64_t & rsc ()

Receive Sequence Counter for group keys only.

In all other cases the RSC will be 0.

Optional.

Defined at line 1663 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

bool has_rsc ()

Defined at line 1667 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

uint64_t * mutable_rsc ()

Receive Sequence Counter for group keys only.

In all other cases the RSC will be 0.

Optional.

Defined at line 1674 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

void clear_rsc ()

Defined at line 1682 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

const ::std::array<uint8_t, 3> & cipher_oui ()

IEEE Cipher suite selector. See IEEE Std 802.11-2016, 9.4.2.25.2, Table 9-131

Required.

Defined at line 1692 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

bool has_cipher_oui ()

Defined at line 1696 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

::std::array<uint8_t, 3> * mutable_cipher_oui ()

IEEE Cipher suite selector. See IEEE Std 802.11-2016, 9.4.2.25.2, Table 9-131

Required.

Defined at line 1702 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

void clear_cipher_oui ()

Defined at line 1710 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

const ::fuchsia::wlan::ieee80211::CipherSuiteType & cipher_type ()

The cipher type.

Required.

Defined at line 1720 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

bool has_cipher_type ()

Defined at line 1724 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

::fuchsia::wlan::ieee80211::CipherSuiteType * mutable_cipher_type ()

The cipher type.

Required.

Defined at line 1730 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h

void clear_cipher_type ()

Defined at line 1738 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h