Skip to main content

oid_key

Function oid_key 

Source
pub fn oid_key(oid: &oid) -> Result<Key, StorageError>
Expand description

The key the derivation family derives an object’s oid to: [0x03] + the oid bytes, decoded through Key::from_bytes over the physical encoding — family-explicit, rejects-never-guesses (alkblobs ADR-018; ADR-020 §Decision 5’s external-oid shape). A non-sha1 oid is StorageError::Invalid (OQ-05: never silently re-addressed).