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
sourceimpl 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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl !Send for Builder
impl !Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more