Trait ring::signature::SigningAlgorithm [−][src]
pub trait SigningAlgorithm: Debug + Sync + 'static + Private { fn from_pkcs8(&'static self, input: Input) -> Result<KeyPair, Unspecified>; }
An algorithm for signing.
Required Methods
fn from_pkcs8(&'static self, input: Input) -> Result<KeyPair, Unspecified>
Parses the key out of the given PKCS#8 document, verifying that it is valid for the algorithm.