Registry / crypto / pem-rfc7468

pem-rfc7468

JSON →
library1.0.0rscratesunverified

PEM encoding (RFC 7468) for PKIX, PKCS, and CMS structures, providing a no_std-friendly, constant-time implementation for cryptographic keys and certificates.

# Cargo.toml [dependencies] pem-rfc7468 = "1.0.0"
INSTALL
IMPORT
SIG · PEM-RFC7468
P
pem-rfc7468
cryptorustv1.0.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.

encode
use pem_rfc7468::encode;

Encodes binary data into PEM format with a given label.

use pem_rfc7468::encode; fn main() { let input = b"example key data"; let label = "PUBLIC KEY"; let mut buf = [0u8; 1024]; let encoded = encode(label, input, &mut buf).unwrap(); println!("{}", std::str::from_utf8(&buf[..encoded]).unwrap()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
pem-rfc7468 — cargo add pem-rfc7468 · libregistry