pub struct KeyRing {
pub ecdsa: KeyRing,
pub ed25519: KeyRing,
}
Expand description
Signature key ring which can contain signing keys for all supported algorithms.
Fields§
§ecdsa: KeyRing
Available on crate feature
ecdsa
only.ECDSA key ring.
ed25519: KeyRing
Available on crate feature
ed25519
only.Ed25519 key ring.
Implementations§
Trait Implementations§
source§impl LoadPkcs8 for KeyRing
impl LoadPkcs8 for KeyRing
source§fn 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.
Auto Trait Implementations§
impl !RefUnwindSafe for KeyRing
impl Send for KeyRing
impl Sync for KeyRing
impl Unpin for KeyRing
impl !UnwindSafe for KeyRing
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more