class Credential
Defined at line 2311 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 ()
void Credential (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_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Credential * value, size_t offset)
zx_status_t Clone (Credential * result)
Credential & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
bool has_invalid_tag ()
Defined at line 2341 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 2345 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 2348 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
const ::fuchsia::wlan::policy::Empty & none ()
The network does not use credentials (open networks).
Defined at line 2354 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 2360 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
Credential & operator= (Credential && )
::std::vector<uint8_t> & password ()
Plaintext password (handled as binary data).
Defined at line 2363 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 2369 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 2375 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 2378 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 2384 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
::fuchsia::wlan::policy::Credential::Tag Which ()
Defined at line 2391 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 2407 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 2410 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
void ~Credential ()
Credential & set_none (::fuchsia::wlan::policy::Empty value)
Credential & set_password (::std::vector<uint8_t> value)
Credential & set_psk (::std::vector<uint8_t> value)
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kNone | 1 |
| kPassword | 2 |
| kPsk | 3 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 2325 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h
Friends
class Equality