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

Method encryption_ring

nodedb/src/wal/manager/encryption.rs:89–91  ·  view source on GitHub ↗

Get the key ring (if configured). Used for dual-key decryption during replay.

(&self)

Source from the content-addressed store, hash-verified

87
88 /// Get the key ring (if configured). Used for dual-key decryption during replay.
89 pub fn encryption_ring(&self) -> Option<&nodedb_wal::crypto::KeyRing> {
90 self.encryption_ring.as_ref()
91 }
92
93 /// Set the encryption key ring. All subsequent records will be encrypted.
94 ///

Callers 1

rotate_keyMethod · 0.45

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected