pub fn generate_keypair<T>(csprng: &mut T) -> Option<KeyPair>where
    T: RngCore + CryptoRng,
Expand description

Generate a keypair, in DER format