[][src]Struct security_framework::identity::SecIdentity

pub struct SecIdentity(_);

A type representing an identity.

Identities are a certificate paired with the corresponding private key.

Implementations

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[src]

impl ConcreteCFType for SecIdentity[src]

impl Debug for SecIdentity[src]

impl Drop for SecIdentity[src]

impl Eq for SecIdentity[src]

impl PartialEq<SecIdentity> for SecIdentity[src]

impl SecIdentityExt for SecIdentity[src]

impl Send for SecIdentity[src]

impl Sync for SecIdentity[src]

impl TCFType for SecIdentity[src]

type Ref = SecIdentityRef

The reference type wrapped inside this type.

impl<'a> ToVoid<SecIdentity> for &'a SecIdentity[src]

impl ToVoid<SecIdentity> for SecIdentity[src]

impl ToVoid<SecIdentity> for SecIdentityRef[src]

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.