[][src]Trait security_framework::os::macos::identity::SecIdentityExt

pub trait SecIdentityExt {
    fn with_certificate(
        keychains: &[SecKeychain],
        certificate: &SecCertificate
    ) -> Result<SecIdentity>; }

An extension trait adding OSX specific functionality to SecIdentity.

Required methods

fn with_certificate(
    keychains: &[SecKeychain],
    certificate: &SecCertificate
) -> Result<SecIdentity>

Creates an identity corresponding to a certificate, looking in the provided keychains for the corresponding private key.

Loading content...

Implementors

impl SecIdentityExt for SecIdentity[src]

Loading content...