Struct security_framework::os::macos::encrypt_transform::Builder [−][src]
pub struct Builder { /* fields omitted */ }
Expand description
A builder for encryption and decryption transform operations.
Implementations
impl Builder
[src]
impl Builder
[src]pub fn padding(&mut self, padding: Padding) -> &mut Builder
[src]
pub fn padding(&mut self, padding: Padding) -> &mut Builder
[src]Selects the padding scheme to use.
If not set, an appropriate scheme will be selected for you.
pub fn mode(&mut self, mode: Mode) -> &mut Builder
[src]
pub fn mode(&mut self, mode: Mode) -> &mut Builder
[src]Selects the encryption mode to use.
If not set, an appropriate mode will be selected for you.
pub fn iv(&mut self, iv: CFData) -> &mut Builder
[src]
pub fn iv(&mut self, iv: CFData) -> &mut Builder
[src]Sets the initialization vector to use.
If not set, an appropriate value will be supplied for you.