[][src]Trait security_framework::os::macos::certificate::SecCertificateExt

pub trait SecCertificateExt {
    fn common_name(&self) -> Result<String>;
fn public_key(&self) -> Result<SecKey>; }

An extension trait adding OSX specific functionality to SecCertificate.

Required Methods

Returns the common name associated with the certificate.

Returns the public key associated with the certificate.

Implementors