Registry / crypto / webpki

webpki

JSON →
library0.22.4rscratesunverified

Web PKI X.509 Certificate Verification, providing certificate path building and validation.

# Cargo.toml [dependencies] webpki = "0.22.4"
INSTALL
IMPORT
SIG · WEBPKI
W
webpki
cryptorustv0.22.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TrustAnchor
use webpki::TrustAnchor;

Accesses the built-in TLS server trust anchors.

use webpki::TrustAnchor; fn main() { let anchors = webpki::TLS_SERVER_ROOTS.0; println!("Number of trust anchors: {}", anchors.len()); }
Debug
Known issues
breakingDeprecated in favor of 'rustls-webpki' for newer Rustls versions; this crate may not receive updates.
fix
Use 'rustls-webpki' instead for ongoing support.
affects: >=0.22.0
Upgrade
Version history
0.22.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
30
Resources
webpki — cargo add webpki · libregistry