Enum tugger_apple_codesign::ExecutionPolicy [−][src]
pub enum ExecutionPolicy { DeveloperIdSigned, DeveloperIdNotarizedExecutable, DeveloperIdNotarizedInstaller, }
Defines well-known execution policies for signed code.
Instances can be obtained from a human-readable string for convenience. Those strings are:
developer-id-signed
developer-id-notarized-executable
developer-id-notarized-installer
Variants
Code is signed by a certificate authorized for signing Mac applications or installers and that certificate was issued by [KnownAppleCertificate::DeveloperId].
This is the policy that applies when you get a Developer ID Application
or
Developer ID Installer
certificate from Apple.
Like Self::DeveloperIdSigned but only applies to executables (not installers) and the executable must be notarized.
If you notarize an individual executable, you effectively convert the Self::DeveloperIdSigned policy into this variant.
Like Self::DeveloperIdSigned but only applies to installers (not executables) and the installer must be notarized.
If you notarize an individual installer, you effectively convert the Self::DeveloperIdSigned policy into this variant.
Methods from Deref<Target = CodeRequirementExpression<'static>>
pub fn write_to(&self, dest: &mut impl Write) -> Result<(), AppleCodesignError>
[src]
Write binary representation of this expression to a destination.
pub fn to_bytes(&self) -> Result<Vec<u8>, AppleCodesignError>
[src]
Produce the binary serialization of this expression.
The blob header/magic is not included.
Trait Implementations
impl Deref for ExecutionPolicy
[src]
impl Deref for ExecutionPolicy
[src]type Target = CodeRequirementExpression<'static>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExecutionPolicy
impl RefUnwindSafe for ExecutionPolicy
impl Send for ExecutionPolicy
impl Send for ExecutionPolicy
impl Sync for ExecutionPolicy
impl Sync for ExecutionPolicy
impl Unpin for ExecutionPolicy
impl Unpin for ExecutionPolicy
impl UnwindSafe for ExecutionPolicy
impl UnwindSafe for ExecutionPolicy
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
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> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]