pub struct KeyRing {
pub nistp256: KeyRing,
pub secp256k1: KeyRing,
}
Available on crate feature
ecdsa
only.Expand description
ECDSA keyring.
Fields§
§nistp256: KeyRing
Available on crate feature
nistp256
only.ECDSA/P-256 keys.
secp256k1: KeyRing
Available on crate feature
secp256k1
only.ECDSA/secp256k1 keys.
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