[−][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
fn common_name(&self) -> Result<String>
Returns the common name associated with the certificate.
fn public_key(&self) -> Result<SecKey>
Returns the public key associated with the certificate.
Implementors
impl SecCertificateExt for SecCertificate