Struct rsa_cortex_m4::padding::Pkcs1[][src]

pub struct Pkcs1<H: Digest> { /* fields omitted */ }

PKCS #1 v1.5 padding.

Defined in RFC 2313 (= PKCS #1 v1.5), see also RFC 2437 (v2.0) and RFC 3447 (v2.1)

EM = 02 || PS || 00 || M, for encryption EM = 00 || 01 || PS || 00 || M, for signatures

"encoded message", where the padding string PS is at least 8 bytes, all non-zeros, and fills out the block.

Trait Implementations

impl<H: Default + Digest> Default for Pkcs1<H>[src]

impl<H: Digest, const D: usize> EncryptionPadding<D> for Pkcs1<H>[src]

impl<H: Asn1Digest, const D: usize> SignaturePadding<D> for Pkcs1<H>[src]

Auto Trait Implementations

impl<H> Send for Pkcs1<H> where
    H: Send
[src]

impl<H> Sync for Pkcs1<H> where
    H: Sync
[src]

impl<H> Unpin for Pkcs1<H> where
    H: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.