Validate
trait to run post-parsing validations of X.509 structureFromDer
trait to unify parsing methods and visibility (#85)X509Certificate::public_key()
methodX509CertificateParser
builder to allow specifying parsing options.extensions
field is not public anymore, but methods .extensions()
and .extensions_map()
have been addedClone
for all types (when possible) (#89)X509Name
(replaced by accessors)00
or ff
Upgrade to nom
6.0
Upgrade to der-parser
5.0
Upgrade MSRV to 1.44.0
Re-export crates so crate users do not have to import them
Add function parse_x509_pem and deprecate pem_to_der (#53)
Add helper methods to X509Name and simplify accessing values
Add support for ReasonCode extension
Add support for InvalidityDate extension
Add support for CRL Number extension
Add support for Certificate Signing Request (#58)
Change type of X509Version (now directly using the u32 value)
X509Name: relax check, allow some non-rfc compliant strings (#50)
Relax some constraints for invalid dates
CRL: extract raw serial, and add methods to access it
CRL: add method to iterate revoked certificates
RevokedCertificate: convert extensions list to hashmap
Refactor crate modules and visibility
Rename top-level functions to parse_x509_certificate
and parse_x509_crl`
Refactor error handling, return meaningful errors when possible
Make many more functions public (parse_tbs_certificate, etc.)
der-parser
4.0time
to chrono
ASN1Time
object to abstract implementationnot_before
, not_after
etc.nid2obj
argument is now passed by copy, not referenceparse_x509_name
public, for parsing distinguished namesverify
feature to verify cryptographic signature by a public keyPem::read
time_to_expiration
to Validity
objectPem
object from BufRead + Seek
Pem
to decode and extract certificateparse_subject_public_key_info
publicsn2oid
(get an OID by short name)