Add a Issuer::from_ca_cert_der alternative that takes a KeyPair reference, instead of requireing an owned instance of KeyPair.
My current workarround:
fn clone_keypair(keypair: &KeyPair) -> KeyPair {
let der = PrivateKeyDer::try_from(keypair.serialize_der()).expect("Unable to clone keypair");
KeyPair::from_der_and_sign_algo(&der, keypair.algorithm()).expect("Unable to clone keypair")
}
Add a Issuer::from_ca_cert_der alternative that takes a KeyPair reference, instead of requireing an owned instance of KeyPair.
My current workarround: