pub struct SignP256 { /* private fields */ }Expand description
RustCrypto ECDSA p256 Signer
Implementations§
Trait Implementations§
Source§impl CryptoSignerP256Processor for SignP256
impl CryptoSignerP256Processor for SignP256
Source§fn sign_p256(&self, content: &[u8], output: &mut [u8]) -> Option<usize>
fn sign_p256(&self, content: &[u8], output: &mut [u8]) -> Option<usize>
Sign the content and indicate the output length of the signature if the
output buffer was long enough.
The output is DER encoded raw bytes as supplied through certificate verify.
The success of the operation always returns Some(written) Read more
Auto Trait Implementations§
impl Freeze for SignP256
impl RefUnwindSafe for SignP256
impl Send for SignP256
impl Sync for SignP256
impl Unpin for SignP256
impl UnwindSafe for SignP256
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