rcgen icon indicating copy to clipboard operation
rcgen copied to clipboard

Make KeyPair, CertificateParams and Certificate Cloneable

Open nthuemmel opened this issue 6 years ago • 3 comments

Being able to clone() KeyPair, CertificateParams and Certificate would help a great deal in some situations. Right now the only solution seems to serialize and then deserialize again

nthuemmel avatar Jun 19 '19 17:06 nthuemmel

Yeah, we should probably implement all the relevant traits listed in the API guidelines

est31 avatar Jun 19 '19 17:06 est31

This depends on ring: https://github.com/briansmith/ring/issues/859

est31 avatar Jun 24 '19 03:06 est31

CertificateParms is clone now. Certificate is not, but I think we'd accept a PR to make it so. I don't think it's a good idea to make KeyPair clone.

cpu avatar Mar 28 '24 14:03 cpu

I think we can consider this done w/ #319.

cpu avatar Mar 02 '25 15:03 cpu