MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / remove_key

Method remove_key

nodedb-crdt/src/signing.rs:175–177  ·  view source on GitHub ↗

Remove a user's signing key.

(&mut self, user_id: u64)

Source from the content-addressed store, hash-verified

173
174 /// Remove a user's signing key.
175 pub fn remove_key(&mut self, user_id: u64) {
176 self.keys.remove(&user_id);
177 }
178
179 /// Derive the per-device HMAC key for `(user_id, device_id)`.
180 ///

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected