class Credential
Defined at line 2527 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
Information used to verify access to a target network.
Public Members
static const fidl_type_t * FidlType
Public Methods
void Credential ()
const ::fuchsia::wlan::policy::Empty & none ()
The network does not use credentials (open networks).
Defined at line 2570 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
bool is_password ()
Defined at line 2576 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
::std::vector<uint8_t> & password ()
Plaintext password (handled as binary data).
Defined at line 2579 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
const ::std::vector<uint8_t> & password ()
Plaintext password (handled as binary data).
Defined at line 2585 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
bool is_psk ()
Defined at line 2591 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
::std::vector<uint8_t> & psk ()
Hash representation of the network passphrase (handled as binary data).
Defined at line 2594 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
const ::std::vector<uint8_t> & psk ()
Hash representation of the network passphrase (handled as binary data).
Defined at line 2600 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/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 2623 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
void ~Credential ()
void Credential (Credential && )
Credential & operator= (Credential && )
Credential WithNone (::fuchsia::wlan::policy::Empty && )
Credential WithPassword (::std::vector<uint8_t> && )
Credential WithPsk (::std::vector<uint8_t> && )
::std::unique_ptr<Credential> New ()
void Encode (::fidl::Encoder *encoder,size_toffset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,Credential *value,size_toffset)
zx_status_t Clone (Credential * result)
bool has_invalid_tag ()
Defined at line 2557 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
bool is_none ()
Defined at line 2561 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
::fuchsia::wlan::policy::Empty & none ()
The network does not use credentials (open networks).
Defined at line 2564 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
Credential & set_none (::fuchsia::wlan::policy::Empty value)
Credential & set_password (::std::vector<uint8_t> value)
Credential & set_psk (::std::vector<uint8_t> value)
Credential & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fuchsia::wlan::policy::Credential::Tag Which ()
Defined at line 2607 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 2626 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
Enumerations
enum Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kUnknown | 0 | -- |
| kNone | 1 |
0x1 |
| kPassword | 2 |
0x2 |
| kPsk | 3 |
0x3 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() | -- |
Defined at line 2541 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
Friends
class Equality