pub fn to_encoded_point<C>(&self) -> Result<EncodedPoint<C>>
    where
        C: Curve + JwkParameters,
        FieldSize<C>: ModulusSize,
    {
        if self.crv != C::CRV {
            return Err(Error);
        }

        let x = decode_base64url_fe::<C>(&self.x)?;
        let y = decode_base64url_fe::<C>(&self.y)?;
        Ok(EncodedPoint::<C>::from_affine_coordinates(&x, &y, false))
    }
/// Get the public key component of this JWK as a SEC1 [`EncodedPoint`].
Get the public key component of this JWK as a SEC1 [`EncodedPoint`].
Get the public key component of this JWK as a SEC1 [ ` EncodedPoint ` ] .
pub fn to_encoded_point<C>(&self) -> Result<EncodedPoint<C>>
    where
        C: Curve + JwkParameters,
        FieldSize<C>: ModulusSize,
    {
        if self.crv != C::CRV {
            return Err(Error);
        }
        let x = decode_base64url_fe::<C>(&self.x)?;
        let y = decode_base64url_fe::<C>(&self.y)?;
        Ok(EncodedPoint::<C>::from_affine_coordinates(&x, &y, false))
    }
pub fn to_encoded_point < C > ( & self ) -> Result < EncodedPoint < C > > where C : Curve + JwkParameters , FieldSize < C > : ModulusSize , { if self . crv != C :: CRV { return Err ( Error ) ; } let x = decode_base64url_fe :: < C > ( & self . x ) ? ; let y = decode_base64url_fe :: < C > ( & self . y ) ? ; Ok ( EncodedPoint :: < C > :: from_affine_coordinates ( & x , & y , false ) ) }
Get the public key component of this JWK as a SEC1 [`EncodedPoint`].
Get the public key component of this JWK as a SEC1 [ ` EncodedPoint ` ] .
&self