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.
Implementors§
impl LoadPkcs8 for signatory::ecdsa::nistp256::KeyRing
Available on crate features
nistp256
and ecdsa
only.impl LoadPkcs8 for signatory::ecdsa::nistp384::KeyRing
Available on crate features
nistp384
and ecdsa
only.impl LoadPkcs8 for signatory::ecdsa::secp256k1::KeyRing
Available on crate features
secp256k1
and ecdsa
only.impl LoadPkcs8 for signatory::ecdsa::KeyRing
Available on crate feature
ecdsa
only.impl LoadPkcs8 for signatory::ed25519::KeyRing
Available on crate feature
ed25519
only.