Module ed25519_dalek::pkcs8
source · Available on crate feature
pkcs8
only.Expand description
PKCS#8 private key support.
Implements Ed25519 PKCS#8 private keys as described in RFC8410 Section 7: https://datatracker.ietf.org/doc/html/rfc8410#section-7
§SemVer Notes
The pkcs8
module of this crate is exempted from SemVer as it uses a
pre-1.0 dependency (the pkcs8
crate).
However, breaking changes to this module will be accompanied by a minor version bump.
Please lock to a specific minor version of the ed25519
crate to avoid
breaking changes when using this module.
Modules§
- RustCrypto: X.509 Subject Public Key Info (SPKI)
Structs§
- ASN.1
BIT STRING
type. - ASN.1 DER-encoded document.
- Ed25519 keypair serialized as bytes.
- Object identifier (OID).
- PKCS#8
PrivateKeyInfo
. - Ed25519 public key serialized as bytes.
- SecretDocument
zeroize
SecretDocument
type.
Enums§
- Error type
Constants§
- Ed25519 Algorithm Identifier.
- Algorithm
ObjectIdentifier
for the Ed25519 digital signature algorithm (id-Ed25519
).
Traits§
- Parse a private key object from a PKCS#8 encoded document.
- Parse a public key object from an encoded SPKI document.
- EncodePrivateKey
alloc
Serialize a private key object to a PKCS#8 encoded document. - EncodePublicKey
alloc
Serialize a public key object to a SPKI-encoded document.
Type Aliases§
- Result type