Skip to main content

import_public_key_jwk

Function import_public_key_jwk 

Source
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.