signatory

Trait GeneratePkcs8

source
pub trait GeneratePkcs8 {
    // Required method
    fn generate_pkcs8() -> SecretDocument;
}
Expand description

Trait for generating PKCS#8-encoded private keys.

Required Methods§

source

fn generate_pkcs8() -> SecretDocument

Randomly generate a new PKCS#8 private key.

Object Safety§

This trait is not object safe.

Implementors§