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

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.

Imports identities from PKCS#12 encoded data.

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.