pub struct EcdsaP256Key(/* private fields */);Expand description
P-256/SHA-256 签名密钥。
Implementations§
Trait Implementations§
Source§impl Debug for EcdsaP256Key
impl Debug for EcdsaP256Key
Source§impl SigningKey for EcdsaP256Key
impl SigningKey for EcdsaP256Key
Source§fn choose_scheme(&self, offered: &[SignatureScheme]) -> Option<Box<dyn Signer>>
fn choose_scheme(&self, offered: &[SignatureScheme]) -> Option<Box<dyn Signer>>
Choose a
SignatureScheme from those offered. Read moreSource§fn algorithm(&self) -> SignatureAlgorithm
fn algorithm(&self) -> SignatureAlgorithm
What kind of key we have.
Source§fn public_key(&self) -> Option<SubjectPublicKeyInfoDer<'_>>
fn public_key(&self) -> Option<SubjectPublicKeyInfoDer<'_>>
Get the RFC 5280-compliant SubjectPublicKeyInfo (SPKI) of this
SigningKey if available.Auto Trait Implementations§
impl Freeze for EcdsaP256Key
impl RefUnwindSafe for EcdsaP256Key
impl Send for EcdsaP256Key
impl Sync for EcdsaP256Key
impl Unpin for EcdsaP256Key
impl UnsafeUnpin for EcdsaP256Key
impl UnwindSafe for EcdsaP256Key
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