#[non_exhaustive]pub enum SomePrivateKey {}Expand description
An RSA, EC or Ed25519 private key.
Use this if you just want to load SOME private key from an external pem file.
Trait Implementations§
Source§impl Debug for SomePrivateKey
impl Debug for SomePrivateKey
Source§impl PrivateKeyToJwk for SomePrivateKey
impl PrivateKeyToJwk for SomePrivateKey
fn private_key_to_jwk(&self) -> Result<Jwk>
Source§impl PublicKeyToJwk for SomePrivateKey
impl PublicKeyToJwk for SomePrivateKey
fn public_key_to_jwk(&self) -> Result<Jwk>
Source§impl SigningKey for SomePrivateKey
impl SigningKey for SomePrivateKey
Auto Trait Implementations§
impl Freeze for SomePrivateKey
impl RefUnwindSafe for SomePrivateKey
impl Send for SomePrivateKey
impl Sync for SomePrivateKey
impl Unpin for SomePrivateKey
impl UnsafeUnpin for SomePrivateKey
impl UnwindSafe for SomePrivateKey
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