arcana/encoding/mod.rs
1//! Key serialization: DER (ASN.1), PEM, PKCS#1, PKCS#8, SPKI, SEC1.
2//!
3//! This module provides:
4//!
5//! - A minimal ASN.1 DER encoder/decoder (`der`) supporting the
6//! tags used by PKCS#1, PKCS#8, SEC1 and SPKI: SEQUENCE, INTEGER,
7//! OCTET STRING, BIT STRING, OID, context-tagged, and NULL.
8//! - Base64 + PEM armor (`pem`) for the standard
9//! `-----BEGIN/END ...-----` wrapping.
10
11pub mod der;
12pub mod keys;
13pub mod pem;