class Credentials
Defined at line 342 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
Credentials used to authenticate with a WLAN.
The variants of this union describe the credentials supported by a protocol
or protocol suite (i.e., WEP and WPA).
Public Members
static const fidl_type_t * FidlType
Public Methods
void Credentials ()
void ~Credentials ()
void Credentials (Credentials && )
Credentials & operator= (Credentials && )
Credentials WithWep (::fuchsia::wlan::internal::WepCredentials && )
Credentials WithWpa (::fuchsia::wlan::internal::WpaCredentials && )
::std::unique_ptr<Credentials> New ()
void Encode (::fidl::Encoder *encoder,size_toffset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,Credentials *value,size_toffset)
zx_status_t Clone (Credentials * result)
bool has_invalid_tag ()
Defined at line 370 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
bool is_wep ()
Defined at line 374 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
Credentials & set_wep (::fuchsia::wlan::internal::WepCredentials value)
::fuchsia::wlan::internal::WepCredentials & wep ()
Defined at line 376 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
const ::fuchsia::wlan::internal::WepCredentials & wep ()
Defined at line 381 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
bool is_wpa ()
Defined at line 387 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
Credentials & set_wpa (::fuchsia::wlan::internal::WpaCredentials value)
Credentials & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fuchsia::wlan::internal::WpaCredentials & wpa ()
Defined at line 389 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
const ::fuchsia::wlan::internal::WpaCredentials & wpa ()
Defined at line 394 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
::fuchsia::wlan::internal::Credentials::Tag Which ()
Defined at line 401 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 414 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 417 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 | -- |
| kWep | 1 |
0x1 |
| kWpa | 2 |
0x2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() | -- |
Defined at line 355 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
Friends
class Equality