hsmtool::util::key::rsa

Function save_private_key

Source
pub fn save_private_key<P: AsRef<Path>>(
    path: P,
    key: &RsaPrivateKey,
    enc: KeyEncoding,
) -> Result<()>
Expand description

Saves an RSA private key to a file in the requested encoding.