signatory/key/
store.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
//! Key storage providers.

#[cfg(feature = "std")]
pub(crate) mod fs;

#[cfg(feature = "std")]
pub use fs::FsKeyStore;

/// Trait for generating PKCS#8-encoded private keys.
pub trait GeneratePkcs8 {
    /// Randomly generate a new PKCS#8 private key.
    fn generate_pkcs8() -> pkcs8::SecretDocument;
}