Enum tss2_fapi_rs::PaddingFlags
pub enum PaddingFlags {
RsaSsa,
RsaPss,
}
Expand description
Padding algorithm to be used with sign()
function.
Variants§
RsaSsa
RSASSA PKCS1-v1.5 signature scheme
RsaPss
RSASSA-PSS PKCS#1-v2.1 probabilistic signature scheme
Trait Implementations§
§impl Clone for PaddingFlags
impl Clone for PaddingFlags
§fn clone(&self) -> PaddingFlags
fn clone(&self) -> PaddingFlags
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 more§impl Debug for PaddingFlags
impl Debug for PaddingFlags
§impl Hash for PaddingFlags
impl Hash for PaddingFlags
§impl Ord for PaddingFlags
impl Ord for PaddingFlags
§impl PartialEq for PaddingFlags
impl PartialEq for PaddingFlags
§impl PartialOrd for PaddingFlags
impl PartialOrd for PaddingFlags
impl Copy for PaddingFlags
impl Eq for PaddingFlags
impl StructuralPartialEq for PaddingFlags
Auto Trait Implementations§
impl Freeze for PaddingFlags
impl RefUnwindSafe for PaddingFlags
impl Send for PaddingFlags
impl Sync for PaddingFlags
impl Unpin for PaddingFlags
impl UnwindSafe for PaddingFlags
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)