hsmtool::util::key::ecdsa

Function save_public_key

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

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