pub trait GeneratePkcs8 {
// Required method
fn generate_pkcs8() -> SecretDocument;
}
Expand description
Trait for generating PKCS#8-encoded private keys.
Required Methods§
sourcefn generate_pkcs8() -> SecretDocument
fn generate_pkcs8() -> SecretDocument
Randomly generate a new PKCS#8 private key.
Object Safety§
This trait is not object safe.