Skip to main content

fetch_kid

Function fetch_kid 

Source
pub async fn fetch_kid(
    pool: &PgPool,
    kid: &str,
) -> Result<Option<Vec<u8>>, EngineError>
Expand description

Fetch a specific kid’s secret. Returns Ok(None) when the kid is unknown. Includes inactive kids (inside the rotation grace window).