Skip to main content

decode_ec_point

Function decode_ec_point 

Source
fn decode_ec_point(jwk: &RawJwk) -> Result<([u8; 32], [u8; 32]), DpopError>
Expand description

Decodes a JWK’s x/y members into raw coordinates, refusing anything that is not an EC P-256 key with both present and exactly 32 bytes long.