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