Crate ic_vetkd_notes

Source

Modules§

vetkd_types 🔒

Structs§

EncryptedNote
HistoryEntry
PrincipalRule

Constants§

EVERYONE
VETKD_SYSTEM_API_CANISTER_ID

Functions§

bls12_381_test_key_1 🔒
caller 🔒
Unlike Motoko, the caller identity is not built into Rust. Thus, we use the ic_cdk::caller() method inside this wrapper function. The wrapper prevents the use of the anonymous identity. Forbidding anonymous interactions is the recommended default behavior for IC canisters.
encrypted_symmetric_key_for_note
symmetric_key_verification_key_for_note
vetkd_system_api_canister_id

Type Aliases§

NoteId