pub struct KeyGenParameterSpecBuilder { /* private fields */ }Implementations§
Source§impl KeyGenParameterSpecBuilder
impl KeyGenParameterSpecBuilder
pub fn new(env: &mut JNIEnv<'_>, alias: &str, purpose: i32) -> JResult<Self>
pub fn set_block_modes( &self, env: &mut JNIEnv<'_>, modes: &[&str], ) -> JResult<KeyGenParameterSpecBuilder>
pub fn set_encryption_paddings( &self, env: &mut JNIEnv<'_>, modes: &[&str], ) -> JResult<KeyGenParameterSpecBuilder>
pub fn set_user_authentication_required( &self, env: &mut JNIEnv<'_>, required: bool, ) -> JResult<KeyGenParameterSpecBuilder>
pub fn build(&self, env: &mut JNIEnv<'_>) -> JResult<KeyGenParameterSpec>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyGenParameterSpecBuilder
impl RefUnwindSafe for KeyGenParameterSpecBuilder
impl Send for KeyGenParameterSpecBuilder
impl Sync for KeyGenParameterSpecBuilder
impl Unpin for KeyGenParameterSpecBuilder
impl UnwindSafe for KeyGenParameterSpecBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more