Expand description
PKCS#8 encoding support.
When the pkcs8 feature of this crate is enabled, the DecodePrivateKey trait is impl’d for
DecapsulationKey, and the DecodePublicKey trait is impl’d for EncapsulationKey.
When both the pkcs8 and alloc features are enabled, the EncodePrivateKey trait is
impl’d for DecapsulationKey, and the EncodePublicKey trait is impl’d for
EncapsulationKey.
Constants§
- SEED_
TAG_ 🔒NUMBER - Tag number for the seed value.
Traits§
- Associated
Algorithm Identifier - Returns
AlgorithmIdentifierassociated with the structure. - Associated
Oid - A trait which associates an OID with a type.
- Decode
Private Key - Parse a private key object from a PKCS#8 encoded document.
- Decode
Public Key - Parse a public key object from an encoded SPKI document.
- Encode
Private Key - Serialize a private key object to a PKCS#8 encoded document.
- Encode
Public Key - Serialize a public key object to a SPKI-encoded document.
Type Aliases§
- Seed
String 🔒 - ML-KEM seed serialized as ASN.1.