$ rustls-webpki
v0.103.9Web PKI X.509 Certificate Verification.
Latest Update Summary
Crate
Name: rustls-webpki New version: 0.104.0-alpha.1 Release date: 2025-10-02T12:03:35Z
Crate readme
Short description webpki is a library that validates Web PKI (TLS/SSL) certificates.
Long description webpki is used by Rustls to handle certificate-related tasks required for implementing TLS clients and servers. Written in Rust, it uses 'ring' for cryptographic operations and low-level parsing. This is a fork of the original webpki project, released as the rustls-webpki crate, beginning with version 0.100.0.
Features • Representing trust anchors - requires caller to specify a set of trust anchors using the TrustAnchor type. • Parsing certificates - converts from raw encoded form of a certificate for trust decisions. • Path building - determines if a certificate was issued by a trust anchor or intermediates endorsed by it. • Name/usage validation - checks if a certificate is valid for a given DNS name or IP address.
Code Examples
Links • https://github.com/rustls/rustls • https://github.com/briansmith/ring • https://github.com/briansmith/webpki • https://github.com/rusticata/x509-parser • https://github.com/est31/rcgen • https://github.com/rustls/webpki/releases • https://github.com/rustls/rustls#example-code • https://github.com/rustls/webpki/issues/new • https://github.com/rustls/webpki/pull/388 • https://github.com/rustls/webpki/pull/391 • https://github.com/rustls/webpki/pull/393 • https://github.com/rustls/webpki/pull/392 • https://github.com/rustls/webpki/pull/394
https://api.github.com/repos/rustls/webpki/releases/251708682
Release info
Release version: 0.104.0-alpha.1
Release description
This version update focuses on a series of changes that refine and improve the library. The minimum supported Rust version (MSRV) has been updated to 1.83, a change implemented by @ctz in this pull request. Additionally, deprecated Error variants have been removed, as noted by @djc in this pull request. The continuous integration process has been simplified to utilize cargo-deny-action directly, which helps in better dependency management indicated by @djc in this pull request. Furthermore, the extended key usage validation API has been made clearer and more straightforward, which was also addressed by @djc in this pull request. Finally, the version number has been adjusted to 0.104.0-alpha.1, reflecting current pre-release status, as detailed in this pull request.
Code Examples
Patch update: 0.103.8 → 0.103.9
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add rustls-webpkiOr add to Cargo.toml: rustls-webpki = "0.103.9"