pub struct SignatureSha256WithRsa { /* private fields */ }
Implementations§
Source§impl SignatureSha256WithRsa
impl SignatureSha256WithRsa
pub fn new(cert: RsaCertificate) -> Self
Trait Implementations§
Source§impl Clone for SignatureSha256WithRsa
impl Clone for SignatureSha256WithRsa
Source§fn clone(&self) -> SignatureSha256WithRsa
fn clone(&self) -> SignatureSha256WithRsa
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SignatureSha256WithRsa
impl Debug for SignatureSha256WithRsa
Source§impl SignMethod for SignatureSha256WithRsa
impl SignMethod for SignatureSha256WithRsa
fn signature_type(&self) -> u64
fn next_seq_num(&mut self) -> u64
fn sign(&self, data: &[u8]) -> Bytes
fn certificate(&self) -> Option<Certificate>
fn time(&self) -> SignatureTime
Source§impl SignMethodType for SignatureSha256WithRsa
impl SignMethodType for SignatureSha256WithRsa
const SIGNATURE_TYPE: u64 = 1u64
Auto Trait Implementations§
impl !Freeze for SignatureSha256WithRsa
impl RefUnwindSafe for SignatureSha256WithRsa
impl Send for SignatureSha256WithRsa
impl Sync for SignatureSha256WithRsa
impl Unpin for SignatureSha256WithRsa
impl UnwindSafe for SignatureSha256WithRsa
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more