Skip to main content

p256_verifying_key

Function p256_verifying_key 

Source
fn p256_verifying_key(
    x: &[u8; 32],
    y: &[u8; 32],
) -> Result<VerifyingKey, DpopError>
Expand description

Builds a verifying key from raw coordinates, the same SEC1-uncompressed route didbot_key::secp256r1::VerifyingKey::from_multibase takes – see that module’s doc for why a key that arrives from elsewhere is judged rather than normalized.