pub struct EcdsaP256Signer { /* private fields */ }Expand description
Wrapper around a software P-256 SigningKey implementing the signature
v2 / spki v0.7 trait set produce_bundle requires.
Implementations§
Source§impl EcdsaP256Signer
impl EcdsaP256Signer
pub fn new(inner: SigningKey) -> Self
pub fn verifying_key(&self) -> VerifyingKey
Trait Implementations§
Source§impl Clone for EcdsaP256Signer
impl Clone for EcdsaP256Signer
Source§fn clone(&self) -> EcdsaP256Signer
fn clone(&self) -> EcdsaP256Signer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DynSignatureAlgorithmIdentifier for EcdsaP256Signer
impl DynSignatureAlgorithmIdentifier for EcdsaP256Signer
Source§fn signature_algorithm_identifier(&self) -> Result<AlgorithmIdentifierOwned>
fn signature_algorithm_identifier(&self) -> Result<AlgorithmIdentifierOwned>
AlgorithmIdentifier for the corresponding singature system.Source§impl From<SigningKey<NistP256>> for EcdsaP256Signer
impl From<SigningKey<NistP256>> for EcdsaP256Signer
Source§impl Signer<EcdsaSignatureBytes> for EcdsaP256Signer
impl Signer<EcdsaSignatureBytes> for EcdsaP256Signer
Auto Trait Implementations§
impl Freeze for EcdsaP256Signer
impl RefUnwindSafe for EcdsaP256Signer
impl Send for EcdsaP256Signer
impl Sync for EcdsaP256Signer
impl Unpin for EcdsaP256Signer
impl UnsafeUnpin for EcdsaP256Signer
impl UnwindSafe for EcdsaP256Signer
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