pub async fn import_public_key_jwk(
variant: EcdhVariant,
jwk: impl Into<String>,
) -> Result<AgreementPublicKey, Error>Expand description
Import a peer’s public key from an EC public JWK (as JSON text) whose
crv matches the declared variant’s curve.