Expand description
All the traits of this crate.
Re-exportsยง
use downcast_rs::Downcast;๐use downcast_rs::impl_downcast;๐use rand::CryptoRng;๐use rand::Rng;๐use ssh_key::Algorithm;๐use ssh_key::AlgorithmName;๐use ssh_key::private::Ed25519Keypair;๐use ssh_key::private::Ed25519PrivateKey;๐use ssh_key::private::KeypairData;๐use ssh_key::private::OpaqueKeypair;๐use ssh_key::public::Ed25519PublicKey;๐use ssh_key::public::KeyData;๐use ssh_key::public::OpaquePublicKey;๐use tor_error::internal;๐use tor_llcrypto::pk::curve25519;๐use tor_llcrypto::pk::ed25519;๐use tor_llcrypto::pk::rsa;๐use tor_llcrypto::rng::EntropicRng;๐use crate::certs::CertData;๐use crate::key_type::CertType;๐use crate::KeyType;๐use crate::KeystoreItemType;๐use crate::Result;๐use crate::ssh::ED25519_EXPANDED_ALGORITHM_NAME;๐use crate::ssh::SshKeyData;๐use crate::ssh::X25519_ALGORITHM_NAME;๐use std::result::Result as StdResult;๐
Enumsยง
- Invalid
Cert Error - The error type returned by
ToEncodableCert::validate. - Keystore
Item - A public key, keypair, or key certificate.
Traitsยง
- Encodable
Item - A key that can be serialized to, and deserialized from.
- Item
Type - A trait for getting the type of an item.
- Keygen
- A trait for generating fresh keys.
- Keygen
Rng - A random number generator for generating
EncodableItems. - ToEncodable
Cert - A trait representing an encodable certificate.
- ToEncodable
Key - A key that can be converted to an
EncodableItem.