class Credentials
Defined at line 354 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 ()
bool is_wep ()
Defined at line 386 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
::fuchsia::wlan::internal::WepCredentials & wep ()
Defined at line 388 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 393 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 399 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 413 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 426 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 429 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
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 382 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)
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 401 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 406 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 367 of file fidling/gen/sdk/fidl/fuchsia.wlan.internal/fuchsia.wlan.internal/hlcpp/fuchsia/wlan/internal/cpp/fidl.h
Friends
class Equality