pub enum CertificateProfile {
MacInstallerDistribution,
AppleDistribution,
AppleDevelopment,
DeveloperIdApplication,
DeveloperIdInstaller,
}
Expand description
Describes combinations of certificate extensions for Apple code signing certificates.
Code signing certificates contain various X.509 extensions denoting them for code signing.
This type represents various common extensions as used on Apple platforms.
Typically, you’ll want to apply at most one of these extensions to a new certificate in order to mark it as compatible for code signing.
This type essentially encapsulates the logic for handling of different “profiles” attached to the different code signing certificates that Apple issues.
Variants
MacInstallerDistribution
Mac Installer Distribution.
In Keychain Access.app
, this might render as 3rd Party Mac Developer Installer
.
Certificates are marked for EKU with 3rd Party Developer Installer Package Signing
.
They also have the Apple Mac App Signing (Submission)
extension.
Typically issued by Apple Worldwide Developer Relations Certificate Authority
.
AppleDistribution
Apple Distribution.
Certificates are marked for EKU with Code Signing
. They also have
extensions Apple Mac App Signing (Development)
and
Apple Developer Certificate (Submission)
.
Typically issued by Apple Worldwide Developer Relations Certificate Authority
.
AppleDevelopment
Apple Development.
Certificates are marked for EKU with Code Signing
. They also have
extensions Apple Developer Certificate (Development)
and
Mac Developer
.
Typically issued by Apple Worldwide Developer Relations Certificate Authority
.
DeveloperIdApplication
Developer ID Application.
Certificates are marked for EKU with Code Signing
. They also have
extensions for Developer ID Application
and Developer ID Date
.
DeveloperIdInstaller
Developer ID Installer.
Certificates are marked for EKU with Developer ID Application
. They also
have extensions Developer ID Installer
and Developer ID Date
.
Implementations
Trait Implementations
sourceimpl Clone for CertificateProfile
impl Clone for CertificateProfile
sourcefn clone(&self) -> CertificateProfile
fn clone(&self) -> CertificateProfile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CertificateProfile
impl Debug for CertificateProfile
sourceimpl FromStr for CertificateProfile
impl FromStr for CertificateProfile
impl Copy for CertificateProfile
impl Eq for CertificateProfile
impl StructuralEq for CertificateProfile
impl StructuralPartialEq for CertificateProfile
Auto Trait Implementations
impl RefUnwindSafe for CertificateProfile
impl Send for CertificateProfile
impl Sync for CertificateProfile
impl Unpin for CertificateProfile
impl UnwindSafe for CertificateProfile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more