voltone / x509

Elixir package for working with X.509 certificates, Certificate Signing Requests (CSRs), Certificate Revocation Lists (CRLs) and RSA/ECC key pairs
BSD 3-Clause "New" or "Revised" License
120 stars 28 forks source link

Improve PEM/DER import/export consistency #2

Closed voltone closed 6 years ago

voltone commented 6 years ago

Right now there are generic functions in X509, and specialized variants in PublicKey and PrivateKey. Consider adding to_pem/from_pem and to_der/to_der to all modules, with a consistent API.

voltone commented 6 years ago

First stage implemented in #7. Next version will update the behaviour of existing functions, as described in the v0.3.0 release notes

voltone commented 6 years ago

In master, will be part of v0.4.0