Enum tugger_apple_codesign::CertificateProfile[][src]

pub enum CertificateProfile {
    MacInstallerDistribution,
    AppleDistribution,
    AppleDevelopment,
    DeveloperIdApplication,
    DeveloperIdInstaller,
}

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

impl CertificateProfile[src]

pub fn all() -> &'static [Self]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

pub fn str_names() -> &'static [&'static str]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Obtain the string values that variants are recognized as.

Trait Implementations

impl Clone for CertificateProfile[src]

impl Copy for CertificateProfile[src]

impl Debug for CertificateProfile[src]

impl Eq for CertificateProfile[src]

impl FromStr for CertificateProfile[src]

type Err = AppleCodesignError

The associated error which can be returned from parsing.

impl PartialEq<CertificateProfile> for CertificateProfile[src]

impl StructuralEq for CertificateProfile[src]

impl StructuralPartialEq for CertificateProfile[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.