Enum security_framework::os::macos::encrypt_transform::Padding [] [src]

pub enum Padding {
    None,
    Pkcs1,
    Pkcs5,
    Pkcs7,
    Oaep,
}

The padding scheme to use for encryption.

Variants

Do not pad.

Use PKCS#1 padding.

Use PKCS#5 padding.

Use PKCS#7 padding.

Use OAEP padding.

Requires the OSX_10_8 (or greater) feature.

Trait Implementations

impl Debug for Padding
[src]

Formats the value using the given formatter.

impl Copy for Padding
[src]

impl Clone for Padding
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more