apple_codesign::cli::certificate_source

Trait KeySource

Source
pub trait KeySource {
    // Required method
    fn resolve_certificates(
        &self,
    ) -> Result<SigningCertificates, AppleCodesignError>;

    // Provided method
    fn exclusive(&self) -> bool { ... }
}

Required Methods§

Source

fn resolve_certificates( &self, ) -> Result<SigningCertificates, AppleCodesignError>

Obtain a bag of private keys and certificates from the instance.

Provided Methods§

Source

fn exclusive(&self) -> bool

Whether key source is the lone/exclusive source of keys + certs.

Implementors§