class FscryptPolicyFlags
Defined at line 1370 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
Flags configuring an fscrypt encryption policy.
These flags are byte-compatible with the Linux fscrypt UAPI: each member has the same value as
the corresponding `FSCRYPT_POLICY_FLAG*` constant in `
<linux
/fscrypt.h>`, so the `flags` field
of a Linux `fscrypt_policy_v2` can be converted to and from this type without translation.
|FscryptPolicyFlags| is flexible, hence may contain unknown members not
defined in the FIDL schema.
Public Members
static FscryptPolicyFlags PAD_8
static FscryptPolicyFlags PAD_16
static FscryptPolicyFlags DIRECT_KEY
static FscryptPolicyFlags IV_INO_LBLK_64
static FscryptPolicyFlags IV_INO_LBLK_32
static FscryptPolicyFlags kMask
Public Methods
void FscryptPolicyFlags ()
Defined at line 1372 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
std::optional<FscryptPolicyFlags> TryFrom (uint8_t value)
Constructs an instance of |FscryptPolicyFlags| from an underlying primitive value
if the primitive does not contain any unknown members not defined in the
FIDL schema. Otherwise, returns |std::nullopt|.
Defined at line 1377 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
FscryptPolicyFlags TruncatingUnknown (uint8_t value)
Constructs an instance of |FscryptPolicyFlags| from an underlying primitive value,
clearing any bit member not defined in the FIDL schema.
Defined at line 1386 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void FscryptPolicyFlags (uint8_t value)
Constructs an instance of |FscryptPolicyFlags| from an underlying primitive value,
preserving any bit member not defined in the FIDL schema.
Defined at line 1392 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
uint8_t operator unsigned char ()
Defined at line 1400 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool operator bool ()
Defined at line 1401 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool operator== (const FscryptPolicyFlags & other)
Defined at line 1402 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool operator!= (const FscryptPolicyFlags & other)
Defined at line 1403 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
FscryptPolicyFlags unknown_bits ()
Defined at line 1411 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_unknown_bits ()
Defined at line 1414 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
FscryptPolicyFlags operator~ ()
Defined at line 1430 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
FscryptPolicyFlags operator| (const FscryptPolicyFlags & other)
Defined at line 1434 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
FscryptPolicyFlags operator& (const FscryptPolicyFlags & other)
Defined at line 1439 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
FscryptPolicyFlags operator^ (const FscryptPolicyFlags & other)
Defined at line 1444 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void operator|= (const FscryptPolicyFlags & other)
Defined at line 1449 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void operator&= (const FscryptPolicyFlags & other)
Defined at line 1454 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void operator^= (const FscryptPolicyFlags & other)
Defined at line 1459 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h