class WpaCredentials
Defined at line 93 of file fidling/gen/sdk/fidl/fuchsia.wlan.common.security/fuchsia.wlan.common.security/cpp/fidl/fuchsia.wlan.common.security/cpp/natural_types.h
WPA credentials.
Public Methods
void WpaCredentials (WpaCredentials && other)
WpaCredentials & operator= (WpaCredentials && other)
void WpaCredentials (const WpaCredentials & other)
WpaCredentials & operator= (const WpaCredentials & other)
bool operator== (const WpaCredentials & other)
bool operator!= (const WpaCredentials & other)
bool IsUnknown ()
::fuchsia_wlan_common_security::WpaCredentials::Tag Which ()
WpaCredentials WithPsk (::std::array<uint8_t, 32> val)
const ::fidl::internal::UnionMemberView<1, Storage_> psk ()
::fidl::internal::UnionMemberView<1, Storage_> psk ()
WpaCredentials & psk (::std::array<uint8_t, 32> value)
Unencoded pre-shared key (PSK).
This field is always a binary PSK; ASCII hexadecimal encoding should not
be used here.
WpaCredentials WithPassphrase (::std::vector<uint8_t> val)
const ::fidl::internal::UnionMemberView<2, Storage_> passphrase ()
::fidl::internal::UnionMemberView<2, Storage_> passphrase ()
WpaCredentials & passphrase (::std::vector<uint8_t> value)
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.
void WpaCredentials (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
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() |
TODO: share union tag types between wire
&
natural.
Defined at line 101 of file fidling/gen/sdk/fidl/fuchsia.wlan.common.security/fuchsia.wlan.common.security/cpp/fidl/fuchsia.wlan.common.security/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits