pub trait LoadPkcs8 {
// Required method
fn load_pkcs8(
&mut self,
private_key: PrivateKeyInfo<'_>,
) -> Result<KeyHandle>;
}
Expand description
Support for loading PKCS#8 private keys.
Required Methods§
sourcefn load_pkcs8(&mut self, private_key: PrivateKeyInfo<'_>) -> Result<KeyHandle>
fn load_pkcs8(&mut self, private_key: PrivateKeyInfo<'_>) -> Result<KeyHandle>
Load a PKCS#8 key into the key ring.