Registry / crypto / x509-certificate

x509-certificate

JSON →
library0.25.0rscratesunverified

X.509 certificate parser and utility functionality.

# Cargo.toml [dependencies] x509-certificate = "0.25.0"
INSTALL
IMPORT
SIG · X509-CERTIFICATE
X
x509-certificate
cryptorustv0.25.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.

X509Certificate
use x509_certificate::X509Certificate;

Parse an X.509 certificate from PEM format and print its subject.

use x509_certificate::X509Certificate; fn main() { let pem = "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----"; let cert = X509Certificate::from_pem(pem).unwrap(); println!("Subject: {}", cert.subject()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.25.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Resources
x509-certificate — cargo add x509-certificate · libregistry