class WpaCredentials
Defined at line 229 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 261 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 267 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 276 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 282 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 289 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 299 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 306 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 319 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 322 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_toffset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,WpaCredentials *value,size_toffset)
zx_status_t Clone (WpaCredentials * result)
bool has_invalid_tag ()
Defined at line 257 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 242 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
Friends
class Equality