Skip to main content

rotate_identity

Function rotate_identity 

Source
pub fn rotate_identity(
    from: &Aid,
    old_key: &SigningKey,
    new_key: &SigningKey,
    reason: Option<&str>,
    now_ms: i64,
) -> Result<Envelope, AclError>
Expand description

§37: identity rotation — build a rotation statement signed by the OLD key. Continuity is provable: the message verifies under the old did:key and announces the new one; receivers update their registries.