Expand description
Cryptographic primitives for Auths.
This crate isolates key parsing, DID encoding, and pluggable verification from concrete backends, keeping the core dependency-light.
provider— PluggableCryptoProvidertrait for Ed25519 verificationkeri— KERI CESR Ed25519 key parsing (KeriPublicKey,KeriDecodeError)did_key— DID:key ↔ Ed25519 encoding (DidKeyError,did_key_to_ed25519, etc.)
Re-exports§
pub use did_key::DidKeyError;pub use did_key::did_key_to_ed25519;pub use did_key::ed25519_pubkey_to_did_keri;pub use did_key::ed25519_pubkey_to_did_key;pub use keri::KeriDecodeError;pub use keri::KeriPublicKey;pub use key_material::build_ed25519_pkcs8_v2;pub use key_material::parse_ed25519_key_material;pub use key_material::parse_ed25519_seed;pub use provider::CryptoError;pub use provider::CryptoProvider;pub use provider::ED25519_PUBLIC_KEY_LEN;pub use provider::ED25519_SIGNATURE_LEN;pub use provider::SecureSeed;pub use ring_provider::RingCryptoProvider;pub use ssh::SshKeyError;pub use ssh::openssh_pub_to_raw_ed25519;
Modules§
- did_key
- DID:key encoding and decoding for Ed25519 public keys.
- keri
- KERI CESR Ed25519 key parsing.
- key_
material - Ed25519 key material parsing from various serialization formats.
- provider
- Pluggable cryptographic abstraction for Ed25519 operations.
- ring_
provider - ssh
- OpenSSH public key parsing for Ed25519 keys.