Expand description
§Bitwarden Organization Crypto Crate
The bitwarden-organization-crypto crate surfaces APIs for safely manipulating
organization-specific cryptography. Similar to the bitwarden-crypto crate, this is meant to be a
basic dependency used by organization-related feature crates.
This is not a client crate and shall not depend on bitwarden-core as a result.
Modules§
- invite_
key_ 🔒bundle - wasm
- The wasm module holds serialization/encoding needed wasm bindings for
any types related to InviteKeyEnvelope. This means base64url for the
InviteKeyData type, and base64 for the InviteKey type. In order to minimize
complexity, the actual B64/B64Url encoding/decoding are limited to the
From<String>andFromStrimplementations. All other serialization goes through String to simplify maintenance.
Structs§
- Invite
KeyBundle - A struct for holding the invitation key and the invitation key sealed by the organization key
- Invite
KeyData - Struct for holding the Invite Key’s raw byte data. Supports WASM bindings,
automatically using base64Url encoding for both
wasm-bindgenandtsify. - Invite
KeyEnvelope - Struct for holding the wrapped invite key data. Currently supports encstring but the inner type must remain private as it may be extended in the future.
Enums§
- Invite
KeyBundle Error - Errors that can occur when creating an invite key envelope