This addresses #266 by splitting KeyPairAlgorithm into two enums, a public one that is now re-exported from the library crate, and one that we use the Bpaf derive macro on. Conversions are defined between the two. The binary crate now gets KeyPairAlgorithm and CertificateBuilder from the library crate, rather than by including cert.rs.
This addresses #266 by splitting
KeyPairAlgorithm
into two enums, a public one that is now re-exported from the library crate, and one that we use theBpaf
derive macro on. Conversions are defined between the two. The binary crate now getsKeyPairAlgorithm
andCertificateBuilder
from the library crate, rather than by includingcert.rs
.Closes #266.