security_framework::os::macos::import_export

Trait Pkcs12ImportOptionsExt

Source
pub trait Pkcs12ImportOptionsExt {
    // Required methods
    fn keychain(&mut self, keychain: SecKeychain) -> &mut Self;
    fn access(&mut self, access: SecAccess) -> &mut Self;
}
Expand description

An extension trait adding OSX specific functionality to Pkcs12ImportOptions.

Required Methods§

Source

fn keychain(&mut self, keychain: SecKeychain) -> &mut Self

Specifies the keychain in which to import the identity.

If this is not called, the default keychain will be used.

Source

fn access(&mut self, access: SecAccess) -> &mut Self

Specifies the access control to be associated with the identity.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§