Function ring::signature::key_pair_from_pkcs8 [−][src]
pub fn key_pair_from_pkcs8(
alg: &'static SigningAlgorithm,
input: Input
) -> Result<KeyPair, Unspecified>
Returns a key for signing that is parsed from a PKCS#8 document.
The key is checked to ensure it is valid for the given algorithm.