Structsยง
- Create
File Send Response - View returned after creating a file send.
Enumsยง
- Create
File Send Error - File
Upload Type - Where the client should upload the encrypted file bytes after
SendClient::create_file_send. - Renew
File Upload UrlError - Upload
Send File Error
Constantsยง
- UNIFFI_
META_ ๐CONST_ BITWARDEN_ SEND_ ENUM_ FILEUPLOADTYPE - UNIFFI_
META_ ๐CONST_ BITWARDEN_ SEND_ ERROR_ CREATEFILESENDERROR - UNIFFI_
META_ ๐CONST_ BITWARDEN_ SEND_ ERROR_ RENEWFILEUPLOADURLERROR - UNIFFI_
META_ ๐CONST_ BITWARDEN_ SEND_ ERROR_ UPLOADSENDFILEERROR
Functionsยง
- encrypt_
file_ ๐buffer_ with_ send_ key - Encrypt
bufferunder the send key wrapped inwrapped_send_key(thekeyfield of a [bitwarden_api_api::models::SendRequestModel], which is the send key encrypted under the user key). MirrorsSendClient::encrypt_buffer, but sources the key from the just-built create request instead of a round-trippedSend, so the create request can carry the true ciphertext length before the send exists on the server.