pub struct Pkcs12ImportOptions { /* private fields */ }
Expand description

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

Implementations§

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.

Imports identities from PKCS#12 encoded data.

Trait Implementations§

Returns the “default value” for a type. Read more
Specifies the keychain in which to import the identity. Read more
Specifies the access control to be associated with the identity.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.