[−][src]Struct security_framework::import_export::Pkcs12ImportOptions
A builder type to import an identity from PKCS#12 formatted data.
Implementations
impl Pkcs12ImportOptions
[src]
pub fn new() -> Self
[src]
Creates a new builder with default options.
pub fn passphrase(&mut self, passphrase: &str) -> &mut Self
[src]
Specifies the passphrase to be used to decrypt the data.
This must be specified, as unencrypted PKCS#12 data is not supported.
pub fn import(&self, pkcs12_data: &[u8]) -> Result<Vec<ImportedIdentity>>
[src]
Imports identities from PKCS#12 encoded data.
Trait Implementations
impl Default for Pkcs12ImportOptions
[src]
fn default() -> Pkcs12ImportOptions
[src]
impl Pkcs12ImportOptionsExt for Pkcs12ImportOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for Pkcs12ImportOptions
impl !Send for Pkcs12ImportOptions
impl !Sync for Pkcs12ImportOptions
impl Unpin for Pkcs12ImportOptions
impl UnwindSafe for Pkcs12ImportOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,