Registry / crypto / rustls-pemfile

rustls-pemfile

JSON →
library2.2.0rscratesunverified

A basic .pem file parser for keys and certificates, used with rustls.

# Cargo.toml [dependencies] rustls-pemfile = "2.2.0"
INSTALL
IMPORT
SIG · RUSTLS-PEMFILE
R
rustls-pemfile
cryptorustv2.2.0
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.

certs
use rustls_pemfile::certs;

Read and parse PEM-encoded certificates from a file.

use rustls_pemfile::certs; use std::io::BufReader; let mut reader = BufReader::new(std::fs::File::open("cert.pem").unwrap()); let certs = certs(&mut reader).unwrap(); println!("Parsed {} certificates", certs.len());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
rustls-pemfile — cargo add rustls-pemfile · libregistry