Skip to main content

Crate quantaegis_sdk

Crate quantaegis_sdk 

Source
Expand description

Commercial Migration & Crypto-Agility SDK (quantaegis-sdk).

Provides high-level, misuse-resistant APIs built atop Layer 1 (quantaegis-core, quantaegis-sha3, quantaegis-ml-kem) and Layer 2 (quantaegis-hybrid):

  • Crypto-Agility (algorithm, agility): Self-describing keys and ciphertexts that allow seamless upgrades (e.g., ML-KEM-768 -> X-Wing -> ML-KEM-1024).
  • Compliance Policy Enforcement (policy): Built-in guards for NIST IR 8547 (Post-2030), Japan CRYPTREC Category 3+, and Hybrid-Required migration windows.
  • Envelope Encryption (envelope): One-shot seal / open combining PQC/Hybrid KEM + domain-separated SHAKE256 KDF + 256-bit AEAD (AES-256-GCM or ChaCha20-Poly1305), plus multi-key rotation (open_with_keyring).
  • RFC 9935, RFC 9881 & RFC 9909 Standard Key Formats (rfc9935, rfc9881, rfc9909): DER & PEM encoding/decoding for ML-KEM, ML-DSA, and SLH-DSA SubjectPublicKeyInfo (SPKI) and PKCS#8.
  • Digital Signature Agility (signature_agility): Self-describing ML-DSA, SLH-DSA, and hybrid MLDSA65-Ed25519-SHA512 keys, signatures, and zero-downtime keyrings.

Re-exports§

pub use agility::AgileKeyPair;
pub use agility::AgilePublicKey;
pub use agility::AgileSecretKey;
pub use algorithm::AeadAlgorithm;
pub use algorithm::KemAlgorithm;
pub use algorithm::SignatureAlgorithm;
pub use envelope::Envelope;
pub use policy::SecurityPolicy;
pub use signature_agility::AgileSignature;
pub use signature_agility::AgileSigningKey;
pub use signature_agility::AgileSigningKeyPair;
pub use signature_agility::AgileVerifyingKey;

Modules§

agility
Crypto-agile self-describing key containers supporting seamless algorithm migration.
algorithm
Algorithm identifiers and metadata for crypto-agile key management and envelopes.
envelope
One-shot misuse-resistant Envelope Encryption (KEM + SHAKE256 KDF + 256-bit AEAD).
policy
Compliance security policies for commercial PQC migration.
rfc9881
RFC 9881 standard ASN.1 DER and PEM codecs for ML-DSA-44, ML-DSA-65, and ML-DSA-87 SubjectPublicKeyInfo (SPKI) and PKCS#8 (OneAsymmetricKey / PrivateKeyInfo).
rfc9909
RFC 9909 standard ASN.1 DER and PEM codecs for FIPS 205 SLH-DSA-SHAKE SubjectPublicKeyInfo (SPKI) and PKCS#8 (OneAsymmetricKey / PrivateKeyInfo).
rfc9935
RFC 9935 standard ASN.1 DER and PEM codecs for ML-KEM-512, ML-KEM-768, and ML-KEM-1024 SubjectPublicKeyInfo (SPKI) and PKCS#8 (PrivateKeyInfo).
signature_agility
Crypto-agile digital signature keys, self-describing wire formats, and zero-downtime verification keyrings across ML-DSA (FIPS 204), SLH-DSA (FIPS 205), and Composite MLDSA65-Ed25519-SHA512 (IETF LAMPS hybrid).