Struct rsa::pkcs1v15::Pkcs1v15Sign
source · pub struct Pkcs1v15Sign {
pub hash_len: Option<usize>,
pub prefix: Box<[u8]>,
}
Expand description
Digital signatures using PKCS#1 v1.5 padding.
Fields§
§hash_len: Option<usize>
Length of hash to use.
prefix: Box<[u8]>
Prefix.
Implementations§
Trait Implementations§
source§impl Clone for Pkcs1v15Sign
impl Clone for Pkcs1v15Sign
source§fn clone(&self) -> Pkcs1v15Sign
fn clone(&self) -> Pkcs1v15Sign
Returns a copy 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 Pkcs1v15Sign
impl Debug for Pkcs1v15Sign
source§impl PartialEq<Pkcs1v15Sign> for Pkcs1v15Sign
impl PartialEq<Pkcs1v15Sign> for Pkcs1v15Sign
source§fn eq(&self, other: &Pkcs1v15Sign) -> bool
fn eq(&self, other: &Pkcs1v15Sign) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.