class WpaCredentials

Defined at line 37 of file fidling/gen/sdk/fidl/fuchsia.wlan.common.security/fuchsia.wlan.common.security/cpp/fidl/fuchsia.wlan.common.security/cpp/wire_types.h

WPA credentials.

Public Methods

void WpaCredentials ()
void WpaCredentials (const WpaCredentials & )

Defined at line 41 of file fidling/gen/sdk/fidl/fuchsia.wlan.common.security/fuchsia.wlan.common.security/cpp/fidl/fuchsia.wlan.common.security/cpp/wire_types.h

WpaCredentials & operator= (const WpaCredentials & )

Defined at line 42 of file fidling/gen/sdk/fidl/fuchsia.wlan.common.security/fuchsia.wlan.common.security/cpp/fidl/fuchsia.wlan.common.security/cpp/wire_types.h

void WpaCredentials (WpaCredentials && )

Defined at line 43 of file fidling/gen/sdk/fidl/fuchsia.wlan.common.security/fuchsia.wlan.common.security/cpp/fidl/fuchsia.wlan.common.security/cpp/wire_types.h

WpaCredentials & operator= (WpaCredentials && )

Defined at line 44 of file fidling/gen/sdk/fidl/fuchsia.wlan.common.security/fuchsia.wlan.common.security/cpp/fidl/fuchsia.wlan.common.security/cpp/wire_types.h

bool IsUnknown ()

Defined at line 51 of file fidling/gen/sdk/fidl/fuchsia.wlan.common.security/fuchsia.wlan.common.security/cpp/fidl/fuchsia.wlan.common.security/cpp/wire_types.h

bool has_invalid_tag ()
bool is_psk ()
WpaCredentials WithPsk (::fidl::ObjectView< ::fidl::Array<uint8_t, 32>> val)

Unencoded pre-shared key (PSK).

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

be used here.

template <typename... Args>
WpaCredentials WithPsk (::fidl::AnyArena & allocator, Args &&... args)

Unencoded pre-shared key (PSK).

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

be used here.

Defined at line 70 of file fidling/gen/sdk/fidl/fuchsia.wlan.common.security/fuchsia.wlan.common.security/cpp/fidl/fuchsia.wlan.common.security/cpp/wire_types.h

::fidl::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.

const ::fidl::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.

bool is_passphrase ()
WpaCredentials WithPassphrase (::fidl::ObjectView< ::fidl::VectorView<uint8_t>> val)

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.

template <typename... Args>
WpaCredentials WithPassphrase (::fidl::AnyArena & allocator, Args &&... args)

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 102 of file fidling/gen/sdk/fidl/fuchsia.wlan.common.security/fuchsia.wlan.common.security/cpp/fidl/fuchsia.wlan.common.security/cpp/wire_types.h

::fidl::VectorView<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.

const ::fidl::VectorView<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.

::fuchsia_wlan_common_security::wire::WpaCredentials::Tag Which ()

Enumerations

enum Tag
Name Value
kPsk 1
kPassphrase 2
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

Defined at line 46 of file fidling/gen/sdk/fidl/fuchsia.wlan.common.security/fuchsia.wlan.common.security/cpp/fidl/fuchsia.wlan.common.security/cpp/wire_types.h