Skip to main content

Module access

Module access 

Source

Structs§

SendAccessFileResponse
Encrypted file metadata of a file send.
SendAccessFileView
Decrypted file metadata of a file send.
SendAccessItemResponse
Encrypted item metadata of an item send.
SendAccessItemView
Decrypted item metadata of an item send.
SendAccessKey
Symmetric key material for an anonymous Send access, derived entirely from the URL fragment — no account key store or logged-in user involved. This is the only Send flow whose key doesn’t come from the user’s key store, hence a standalone type rather than a [bitwarden_crypto::KeyStoreContext] slot.
SendAccessResponse
View of a send’s accessible content, returned after a successful send access call. Name, text, file, and item fields are encrypted and must be decrypted client-side using the key derived from the URL fragment.
SendAccessTextResponse
Encrypted text content of a text send.
SendAccessTextView
Decrypted text content of a text send.
SendAccessView
Plaintext view of a SendAccessResponse, produced by SendAccessKey::decrypt_response.
SendFileDownloadData
File download URL data returned from a send file access call.

Enums§

AccessSendError
Error returned when accessing a send fails.
GetFileDownloadDataError
Error returned when getting send file download data fails.
SendAccessDecryptError
Error returned when decrypting an anonymous send access response or file blob fails. Wraps [CryptoError], which never embeds plaintext or key material in its messages.
SendAccessKeyError
Error returned when the key from a send URL fragment cannot be turned into a SendAccessKey. Deliberately carries no key material.

Constants§

SEND_KEY_LEN 🔒
Length in bytes of the raw Send key carried in a Send URL fragment. pub(crate) so SendView::encrypt_composite (send.rs) can generate keys of exactly this length, enforcing the relationship at compile time instead of relying on a test to catch drift.
UNIFFI_META_CONST_BITWARDEN_SEND_ERROR_ACCESSSENDERROR 🔒
UNIFFI_META_CONST_BITWARDEN_SEND_ERROR_GETFILEDOWNLOADDATAERROR 🔒
UNIFFI_META_CONST_BITWARDEN_SEND_ERROR_SENDACCESSDECRYPTERROR 🔒
UNIFFI_META_CONST_BITWARDEN_SEND_ERROR_SENDACCESSKEYERROR 🔒

Functions§

access_send 🔒
get_file_download_data 🔒