Skip to main content

generate_key

Function generate_key 

Source
pub async fn generate_key(
    options: SigningKeyOptions,
) -> Result<(SigningKey, VerifyingKey), Error>
Expand description

Generate a fresh random signing key, returning both halves — the only point at which every provider is guaranteed to have the public key on hand.