pub async fn generate_key(
variant: EcdsaVariant,
options: SigningKeyOptions,
) -> Result<(SigningKey, VerifyingKey), Error>Expand description
Generate a fresh random signing key of the declared variant, returning both halves — the only point at which every provider is guaranteed to have the public key on hand.