class WpaCredentials

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

WPA credentials.

Public Members

static const fidl_type_t * FidlType

Public Methods

void WpaCredentials ()
bool is_psk ()

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

::std::array<uint8_t, 32> & psk ()

Unencoded pre-shared key (PSK).

This field is always a binary PSK; ASCII hexadecimal encoding should not

be used here.

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

const ::std::array<uint8_t, 32> & psk ()

Unencoded pre-shared key (PSK).

This field is always a binary PSK; ASCII hexadecimal encoding should not

be used here.

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

bool is_passphrase ()

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

::std::vector<uint8_t> & passphrase ()

UTF-8 encoded passphrase.

This field is expected to use UTF-8 or compatible encoding. This is more

permissive than the passphrase to PSK mapping specified in IEEE Std

802.11-2016 Appendix J.4, but UTF-8 is typically used in practice.

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

const ::std::vector<uint8_t> & passphrase ()

UTF-8 encoded passphrase.

This field is expected to use UTF-8 or compatible encoding. This is more

permissive than the passphrase to PSK mapping specified in IEEE Std

802.11-2016 Appendix J.4, but UTF-8 is typically used in practice.

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

::fuchsia::wlan::internal::WpaCredentials::Tag Which ()

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

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

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

const std::vector<uint8_t> * UnknownBytes ()

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

void ~WpaCredentials ()
void WpaCredentials (WpaCredentials && )
WpaCredentials & operator= (WpaCredentials && )
WpaCredentials WithPsk (::std::array<uint8_t, 32> && )
WpaCredentials WithPassphrase (::std::vector<uint8_t> && )
::std::unique_ptr<WpaCredentials> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, WpaCredentials * value, size_t offset)
zx_status_t Clone (WpaCredentials * result)
bool has_invalid_tag ()

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

WpaCredentials & set_psk (::std::array<uint8_t, 32> value)
WpaCredentials & set_passphrase (::std::vector<uint8_t> value)
WpaCredentials & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kUnknown 0 --
kPsk 1

0x1

kPassphrase 2

0x2

Invalid ::std::numeric_limits<::fidl_union_tag_t>::max() --

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

Friends

class Equality