pub fn generate_ecx_key_pair(&self, curve: EcxCurve) -> Result<EcxKeyPair, JoseError> {
        let mut key_pair = EcxKeyPair::generate(curve)?;
        key_pair.set_algorithm(Some(self.name()));
        Ok(key_pair)
    }
/// Generate ECx key pair for ECDH.
Generate ECx key pair for ECDH.
Generate ECx key pair for ECDH .
pub fn generate_ecx_key_pair(&self, curve: EcxCurve) -> Result<EcxKeyPair, JoseError> {
        let mut key_pair = EcxKeyPair::generate(curve)?;
        key_pair.set_algorithm(Some(self.name()));
        Ok(key_pair)
    }
pub fn generate_ecx_key_pair ( & self , curve : EcxCurve ) -> Result < EcxKeyPair , JoseError > { let mut key_pair = EcxKeyPair :: generate ( curve ) ? ; key_pair . set_algorithm ( Some ( self . name ( ) ) ) ; Ok ( key_pair ) }
Generate ECx key pair for ECDH.
Generate ECx key pair for ECDH .
&self
curve
EcxCurve
&self
curve
EcxCurve