Function hsmtool::util::key::rsa::load_public_key

source ·
pub fn load_public_key<P: AsRef<Path>>(path: P) -> Result<RsaPublicKey>
Expand description

Loads an RSA public key from a file. The key may be in either PKCS#1 or PKCS#8 format encoded in either DER or PEM encodings.