Crate x509_cert

source ·
Expand description

RustCrypto: X.509 Certificates

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of the X.509 Public Key Infrastructure Certificate format as described in RFC 5280.


Minimum Supported Rust Version

This crate requires Rust 1.65 at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor version bump.


Licensed under either of:

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.



  • Trust anchor-related structures as defined in RFC 5914
  • Attribute-related definitions as defined in X.501 (and updated by RFC 5280).
  • builderbuilder
    X509 Certificate builder
  • Certificate types
  • Certificate Revocation List types
  • Standardized X.509 Certificate Extensions
  • Name-related definitions as defined in X.501 (and updated by RFC 5280).
  • PKCS#10 Certification Request types
  • X.509 serial number
  • X.501 time types as defined in RFC 5280


  • Implements the following traits for a newtype of a der decodable/encodable type: