[]Struct security_framework::identity::SecIdentity

pub struct SecIdentity(_);

A type representing an identity.

Identities are a certificate paired with the corresponding private key.

Methods

impl SecIdentity[src]

pub fn certificate(&self) -> Result<SecCertificate>[src]

Returns the certificate corresponding to this identity.

pub fn private_key(&self) -> Result<SecKey>[src]

Returns the private key corresponding to this identity.

Trait Implementations

impl Clone for SecIdentity

impl ConcreteCFType for SecIdentity

impl Debug for SecIdentity[src]

impl Drop for SecIdentity

impl Eq for SecIdentity

impl PartialEq<SecIdentity> for SecIdentity

impl Send for SecIdentity[src]

impl Sync for SecIdentity[src]

impl TCFType for SecIdentity

type Ref = SecIdentityRef

The reference type wrapped inside this type.

impl<'a> ToVoid<SecIdentity> for &'a SecIdentity

impl ToVoid<SecIdentity> for SecIdentity

impl ToVoid<SecIdentity> for SecIdentityRef

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> FromMutVoid for T where
    T: TCFType
[src]

impl<T> FromVoid for T where
    T: TCFType
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.