class SetKeyDescriptor

Defined at line 1785 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 1795 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 1799 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 1807 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 1815 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 1826 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 1830 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 1837 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 1845 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 1855 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 1859 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 1865 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 1873 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 1884 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 1888 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 1895 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 1903 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 1914 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 1918 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 1925 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 1933 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 1943 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 1947 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 1953 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 1961 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 1971 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 1975 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 1981 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 1989 of file fidling/gen/sdk/fidl/fuchsia.wlan.ieee80211/fuchsia.wlan.ieee80211/hlcpp/fuchsia/wlan/ieee80211/cpp/fidl.h