Trait signatory::LoadPkcs8

source ·
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§

source

fn load_pkcs8(&mut self, private_key: PrivateKeyInfo<'_>) -> Result<KeyHandle>

Load a PKCS#8 key into the key ring.

Implementors§

source§

impl LoadPkcs8 for signatory::ecdsa::nistp256::KeyRing

Available on crate features nistp256 and ecdsa only.
source§

impl LoadPkcs8 for signatory::ecdsa::nistp384::KeyRing

Available on crate features nistp384 and ecdsa only.
source§

impl LoadPkcs8 for signatory::ecdsa::secp256k1::KeyRing

Available on crate features secp256k1 and ecdsa only.
source§

impl LoadPkcs8 for signatory::ecdsa::KeyRing

Available on crate feature ecdsa only.
source§

impl LoadPkcs8 for signatory::ed25519::KeyRing

Available on crate feature ed25519 only.
source§

impl LoadPkcs8 for signatory::KeyRing