[−][src]Trait security_framework::os::macos::certificate::SecCertificateExt
An extension trait adding OSX specific functionality to SecCertificate
.
Required methods
fn common_name(&self) -> Result<String, Error>
Returns the common name associated with the certificate.
fn public_key(&self) -> Result<SecKey, Error>
Returns the public key associated with the certificate.
fn properties(
&self,
keys: Option<&[CertificateOid]>
) -> Result<CertificateProperties, CFError>
&self,
keys: Option<&[CertificateOid]>
) -> Result<CertificateProperties, CFError>
Returns the set of properties associated with the certificate.
The keys
argument can optionally be used to filter the properties loaded to an explicit
subset.
Implementors
impl SecCertificateExt for SecCertificate
[src]
fn common_name(&self) -> Result<String, Error>
[src]
fn public_key(&self) -> Result<SecKey, Error>
[src]
fn properties(
&self,
keys: Option<&[CertificateOid]>
) -> Result<CertificateProperties, CFError>
[src]
&self,
keys: Option<&[CertificateOid]>
) -> Result<CertificateProperties, CFError>