Function hsmtool::util::key::rsa::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.