hsmtool::util::key::rsa

Function save_public_key

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

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