[][src]Struct security_framework::certificate::SecCertificate

pub struct SecCertificate(_);

A type representing a certificate.

Implementations

impl SecCertificate[src]

pub fn from_der(der_data: &[u8]) -> Result<Self>[src]

Creates a SecCertificate from DER encoded certificate data.

pub fn to_der(&self) -> Vec<u8>[src]

Returns DER encoded data describing this certificate.

pub fn subject_summary(&self) -> String[src]

Returns a human readable summary of this certificate.

Trait Implementations

impl Clone for SecCertificate[src]

impl ConcreteCFType for SecCertificate[src]

impl Debug for SecCertificate[src]

impl Drop for SecCertificate[src]

impl Eq for SecCertificate[src]

impl PartialEq<SecCertificate> for SecCertificate[src]

impl SecCertificateExt for SecCertificate[src]

impl Send for SecCertificate[src]

impl Sync for SecCertificate[src]

impl TCFType for SecCertificate[src]

type Ref = SecCertificateRef

The reference type wrapped inside this type.

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

impl ToVoid<SecCertificate> for SecCertificate[src]

impl ToVoid<SecCertificate> for SecCertificateRef[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.