pub fn load_private_key(
p: &Policy,
der: PrivateKeyDer<'static>,
) -> Result<Arc<dyn SigningKey>, CryptoError>Expand description
Loads a private key into a signing key that signs only with a scheme in
p.signature_schemes. The key’s algorithm is not checked against any profile;
Resolved::certified_key checks it.