class WpaCredentials
Defined at line 217 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 ()
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 245 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
bool is_psk ()
Defined at line 249 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 255 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 264 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 270 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 277 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 287 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)
::fuchsia::wlan::internal::WpaCredentials::Tag Which ()
Defined at line 294 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 307 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 310 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
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 230 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
Friends
class Equality