class Credential

Defined at line 3532 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

Describes a LoWPAN credential.

Currently only supports a symmetric network key,

but may be extended in the future to support other

types of credentials, such as passwords, PAKE

secrets, or a reference to a certificate/private-key

pair.

Public Members

static const fidl_type_t * FidlType

Public Methods

void Credential ()
bool has_invalid_tag ()

Defined at line 3558 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

bool is_network_key ()

Defined at line 3562 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

::std::vector<uint8_t> & network_key ()

Describes a symmetric key credential.

The size of the symmetric key is defined by the

underlying network technology. For Thread this

is a 16-byte value.

Note that this value is not a password.

Defined at line 3571 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

const ::std::vector<uint8_t> & network_key ()

Describes a symmetric key credential.

The size of the symmetric key is defined by the

underlying network technology. For Thread this

is a 16-byte value.

Note that this value is not a password.

Defined at line 3583 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

::fuchsia::lowpan::device::Credential::Tag Which ()

Defined at line 3590 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/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 3604 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

const std::vector<uint8_t> * UnknownBytes ()

Defined at line 3607 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

void ~Credential ()
void Credential (Credential && )
Credential & operator= (Credential && )
Credential WithNetworkKey (::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 & set_network_key (::std::vector<uint8_t> value)
Credential & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kUnknown 0 --
kNetworkKey 1

0x1

Invalid ::std::numeric_limits<::fidl_union_tag_t>::max() --

Defined at line 3544 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h

Friends

class Equality