class WrappedKey

Defined at line 534 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

Public Methods

template <typename... Args>
WrappedKey WithFxfs (::fidl::AnyArena & allocator, Args &&... args)

Fxfs's default crypto (AES256GCM-SIV wrapped key using AES256XTS encryption)

In: 16-byte wrapping_key_id + 48-byte wrapped key.

Out: 32-byte unwrapped key.

Defined at line 570 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

template <typename... Args>
WrappedKey WithZxcrypt (::fidl::AnyArena & allocator, Args &&... args)

Zxcrypt (For use with FVM/Minfs only)

In: 132-byte request blob.

Out: 80-byte unwrapped key blob.

Defined at line 596 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

template <typename... Args>
WrappedKey WithFscryptInoLblk32Dir (::fidl::AnyArena & allocator, Args &&... args)

Fscrypt INO_LBLK32 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte nonce.

Out: 32-byte cts_key, 16-byte ino_hash, 16-byte dirhash.

Defined at line 622 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

void WrappedKey ()
void WrappedKey (const WrappedKey & )

Defined at line 539 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

bool has_invalid_tag ()
bool is_fxfs ()
WrappedKey WithFxfs (::fidl::ObjectView< ::fuchsia_fxfs::wire::FxfsKey> val)

Fxfs's default crypto (AES256GCM-SIV wrapped key using AES256XTS encryption)

In: 16-byte wrapping_key_id + 48-byte wrapped key.

Out: 32-byte unwrapped key.

::fuchsia_fxfs::wire::FxfsKey & fxfs ()

Fxfs's default crypto (AES256GCM-SIV wrapped key using AES256XTS encryption)

In: 16-byte wrapping_key_id + 48-byte wrapped key.

Out: 32-byte unwrapped key.

const ::fuchsia_fxfs::wire::FxfsKey & fxfs ()

Fxfs's default crypto (AES256GCM-SIV wrapped key using AES256XTS encryption)

In: 16-byte wrapping_key_id + 48-byte wrapped key.

Out: 32-byte unwrapped key.

bool is_zxcrypt ()
WrappedKey WithZxcrypt (::fidl::ObjectView< ::fidl::VectorView<uint8_t>> val)

Zxcrypt (For use with FVM/Minfs only)

In: 132-byte request blob.

Out: 80-byte unwrapped key blob.

::fuchsia_fxfs::wire::FscryptKeyIdentifierAndNonce & fscrypt_ino_lblk32_dir ()

Fscrypt INO_LBLK32 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte nonce.

Out: 32-byte cts_key, 16-byte ino_hash, 16-byte dirhash.

const ::fuchsia_fxfs::wire::FscryptKeyIdentifierAndNonce & fscrypt_ino_lblk32_dir ()

Fscrypt INO_LBLK32 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte nonce.

Out: 32-byte cts_key, 16-byte ino_hash, 16-byte dirhash.

bool is_fscrypt_ino_lblk32_file ()
WrappedKey WithFscryptInoLblk32File (::fidl::ObjectView< ::fuchsia_fxfs::wire::FscryptKeyIdentifier> val)

Fscrypt INO_LBLK32 file (For use with starnix only)

In: 16-byte key_identifier.

Out: 16-byte ino_hash (hardware key slot is registered via `key_token`).

WrappedKey & operator= (const WrappedKey & )

Defined at line 540 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

void WrappedKey (WrappedKey && )

Defined at line 541 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

WrappedKey & operator= (WrappedKey && )

Defined at line 542 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

bool IsUnknown ()

Defined at line 553 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

template <typename... Args>
WrappedKey WithFscryptInoLblk32File (::fidl::AnyArena & allocator, Args &&... args)

Fscrypt INO_LBLK32 file (For use with starnix only)

In: 16-byte key_identifier.

Out: 16-byte ino_hash (hardware key slot is registered via `key_token`).

Defined at line 648 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

::fidl::VectorView<uint8_t> & zxcrypt ()

Zxcrypt (For use with FVM/Minfs only)

In: 132-byte request blob.

Out: 80-byte unwrapped key blob.

const ::fidl::VectorView<uint8_t> & zxcrypt ()

Zxcrypt (For use with FVM/Minfs only)

In: 132-byte request blob.

Out: 80-byte unwrapped key blob.

bool is_fscrypt_ino_lblk32_dir ()
WrappedKey WithFscryptInoLblk32Dir (::fidl::ObjectView< ::fuchsia_fxfs::wire::FscryptKeyIdentifierAndNonce> val)

Fscrypt INO_LBLK32 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte nonce.

Out: 32-byte cts_key, 16-byte ino_hash, 16-byte dirhash.

::fuchsia_fxfs::wire::FscryptKeyIdentifier & fscrypt_ino_lblk32_file ()

Fscrypt INO_LBLK32 file (For use with starnix only)

In: 16-byte key_identifier.

Out: 16-byte ino_hash (hardware key slot is registered via `key_token`).

const ::fuchsia_fxfs::wire::FscryptKeyIdentifier & fscrypt_ino_lblk32_file ()

Fscrypt INO_LBLK32 file (For use with starnix only)

In: 16-byte key_identifier.

Out: 16-byte ino_hash (hardware key slot is registered via `key_token`).

bool is_fscrypt_ino_lblk64_dir ()
WrappedKey WithFscryptInoLblk64Dir (::fidl::ObjectView< ::fuchsia_fxfs::wire::FscryptKeyIdentifierAndNonce> val)

Fscrypt INO_LBLK64 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte nonce.

Out: 32-byte cts_key, 16-byte dirhash.

template <typename... Args>
WrappedKey WithFscryptInoLblk64Dir (::fidl::AnyArena & allocator, Args &&... args)

Fscrypt INO_LBLK64 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte nonce.

Out: 32-byte cts_key, 16-byte dirhash.

Defined at line 674 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

::fuchsia_fxfs::wire::FscryptKeyIdentifierAndNonce & fscrypt_ino_lblk64_dir ()

Fscrypt INO_LBLK64 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte nonce.

Out: 32-byte cts_key, 16-byte dirhash.

const ::fuchsia_fxfs::wire::FscryptKeyIdentifierAndNonce & fscrypt_ino_lblk64_dir ()

Fscrypt INO_LBLK64 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte nonce.

Out: 32-byte cts_key, 16-byte dirhash.

bool is_fscrypt_ino_lblk64_file ()
WrappedKey WithFscryptInoLblk64File (::fidl::ObjectView< ::fuchsia_fxfs::wire::FscryptKeyIdentifier> val)

Fscrypt INO_LBLK64 file (For use with starnix only)

In: 16-byte key_identifier.

Out: empty unwrapped_key (hardware key slot is registered via `key_token`).

template <typename... Args>
WrappedKey WithFscryptInoLblk64File (::fidl::AnyArena & allocator, Args &&... args)

Fscrypt INO_LBLK64 file (For use with starnix only)

In: 16-byte key_identifier.

Out: empty unwrapped_key (hardware key slot is registered via `key_token`).

Defined at line 700 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

::fuchsia_fxfs::wire::FscryptKeyIdentifier & fscrypt_ino_lblk64_file ()

Fscrypt INO_LBLK64 file (For use with starnix only)

In: 16-byte key_identifier.

Out: empty unwrapped_key (hardware key slot is registered via `key_token`).

const ::fuchsia_fxfs::wire::FscryptKeyIdentifier & fscrypt_ino_lblk64_file ()

Fscrypt INO_LBLK64 file (For use with starnix only)

In: 16-byte key_identifier.

Out: empty unwrapped_key (hardware key slot is registered via `key_token`).

::fuchsia_fxfs::wire::WrappedKey::Tag Which ()

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kFxfs 1

0x1

kZxcrypt 2

0x2

kFscryptInoLblk32Dir 3

0x3

kFscryptInoLblk32File 4

0x4

kFscryptInoLblk64Dir 5

0x5

kFscryptInoLblk64File 6

0x6

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

Defined at line 544 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h