pub struct Pkcs12ImportOptions { /* private fields */ }
Expand description
A builder type to import an identity from PKCS#12 formatted data.
Implementations§
source§impl Pkcs12ImportOptions
impl Pkcs12ImportOptions
sourcepub fn passphrase(&mut self, passphrase: &str) -> &mut Self
pub fn passphrase(&mut self, passphrase: &str) -> &mut Self
Specifies the passphrase to be used to decrypt the data.
This must be specified, as unencrypted PKCS#12 data is not supported.
Trait Implementations§
source§impl Default for Pkcs12ImportOptions
impl Default for Pkcs12ImportOptions
source§fn default() -> Pkcs12ImportOptions
fn default() -> Pkcs12ImportOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Pkcs12ImportOptions
impl RefUnwindSafe for Pkcs12ImportOptions
impl !Send for Pkcs12ImportOptions
impl !Sync for Pkcs12ImportOptions
impl Unpin for Pkcs12ImportOptions
impl UnwindSafe for Pkcs12ImportOptions
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