[][src]Struct security_framework::import_export::Pkcs12ImportOptions

pub struct Pkcs12ImportOptions { /* fields omitted */ }

A builder type to import an identity from PKCS#12 formatted data.

Methods

impl Pkcs12ImportOptions
[src]

Creates a new builder with default options.

Specifies the passphrase to be used to decrypt the data.

This must be specified, as unencrypted PKCS#12 data is not supported.

Deprecated

Replaced by os::macos::import_export::Pkcs12ImportOptionsExt::keychain.

Deprecated

Replaced by os::macos::import_export::Pkcs12ImportOptionsExt::access.

Deprecated since 0.1.15

: please use import_optional instead

Imports identities from PKCS#12 encoded data.

Imports identities from PKCS#12 encoded data allowing missing items

Trait Implementations

impl Default for Pkcs12ImportOptions
[src]

Returns the "default value" for a type. Read more

impl Pkcs12ImportOptionsExt for Pkcs12ImportOptions
[src]

Specifies the keychain in which to import the identity. Read more

Specifies the access control to be associated with the identity.

Auto Trait Implementations

impl !Send for Pkcs12ImportOptions

impl !Sync for Pkcs12ImportOptions

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more