pub async fn import_public_key_raw(
variant: EcdhVariant,
raw: impl Into<Vec<u8>>,
) -> Result<AgreementPublicKey, Error>Expand description
Import a peer’s public key as an uncompressed SEC1 point (04 ‖ x ‖ y;
65 bytes for P-256, 97 bytes for P-384).