Expand description
Mobile specific crypto operations
This module contains temporary code for handling mobile specific cryptographic operations until
the SDK is fully implemented. When porting functionality from client
the mobile clients should
be updated to consume the regular code paths and in this module should eventually disappear.
StructsΒ§
- Derive
KeyConnector Request - Request for migrating an account from password to key connector.
- Derive
PinKey Response - Request for deriving a pin protected user key
- Init
OrgCrypto Request - Represents the request to initialize the userβs organizational cryptographic state.
- Init
User Crypto Request - State used for initializing the user cryptographic state.
- Make
KeyPair Response - Response from the
make_key_pair
function - Update
Password Response - Response from the
update_password
function - Verify
Asymmetric Keys Request - Request for
verify_asymmetric_keys
. - Verify
Asymmetric Keys Response - Response for
verify_asymmetric_keys
.
EnumsΒ§
- Auth
Request Method - Auth requests supports multiple initialization methods.
- Derive
KeyConnector Error - Enroll
Admin Password Reset Error - Init
User Crypto Method - The crypto method used to initialize the user cryptographic state.
- Mobile
Crypto Error - Catch all error for mobile crypto operations.
ConstantsΒ§
- UNIFFI_
META_ πCONST_ BITWARDEN_ CORE_ ENUM_ AUTHREQUESTMETHOD - UNIFFI_
META_ πCONST_ BITWARDEN_ CORE_ ENUM_ INITUSERCRYPTOMETHOD - UNIFFI_
META_ πCONST_ BITWARDEN_ CORE_ RECORD_ DERIVEKEYCONNECTORREQUEST - UNIFFI_
META_ πCONST_ BITWARDEN_ CORE_ RECORD_ DERIVEPINKEYRESPONSE - UNIFFI_
META_ πCONST_ BITWARDEN_ CORE_ RECORD_ INITORGCRYPTOREQUEST - UNIFFI_
META_ πCONST_ BITWARDEN_ CORE_ RECORD_ INITUSERCRYPTOREQUEST - UNIFFI_
META_ πCONST_ BITWARDEN_ CORE_ RECORD_ MAKEKEYPAIRRESPONSE - UNIFFI_
META_ πCONST_ BITWARDEN_ CORE_ RECORD_ UPDATEPASSWORDRESPONSE - UNIFFI_
META_ πCONST_ BITWARDEN_ CORE_ RECORD_ VERIFYASYMMETRICKEYSREQUEST - UNIFFI_
META_ πCONST_ BITWARDEN_ CORE_ RECORD_ VERIFYASYMMETRICKEYSRESPONSE
FunctionsΒ§
- derive_
key_ πconnector - Derive the master key for migrating to the key connector
- derive_
pin_ πkey - derive_
pin_ πprotected_ user_ key - derive_
pin_ πuser_ key - enroll_
admin_ πpassword_ reset - get_
user_ πencryption_ key - initialize_
org_ πcrypto - Initialize the userβs organizational cryptographic state.
- initialize_
user_ crypto - Initialize the userβs cryptographic state.
- make_
key_ πpair - update_
password π - verify_
asymmetric_ πkeys