Struct ZSignOptions

Source
pub struct ZSignOptions {
Show 18 fields pub input_path: String, pub cert_file: Option<String>, pub pkey_file: Option<String>, pub prov_file: Option<String>, pub password: Option<String>, pub adhoc: bool, pub sha256_only: bool, pub bundle_id: Option<String>, pub bundle_name: Option<String>, pub bundle_version: Option<String>, pub entitlements_file: Option<String>, pub dylib_files: Vec<String>, pub weak_inject: bool, pub force: bool, pub check_signature: bool, pub temp_folder: Option<String>, pub debug: bool, pub quiet: bool,
}

Fields§

§input_path: String§cert_file: Option<String>§pkey_file: Option<String>§prov_file: Option<String>§password: Option<String>§adhoc: bool§sha256_only: bool§bundle_id: Option<String>§bundle_name: Option<String>§bundle_version: Option<String>§entitlements_file: Option<String>§dylib_files: Vec<String>§weak_inject: bool§force: bool§check_signature: bool§temp_folder: Option<String>§debug: bool§quiet: bool

Implementations§

Source§

impl ZSignOptions

Source

pub fn new<S: Into<String>>(input_path: S) -> Self

Source

pub fn with_adhoc_signing(self) -> Self

Source

pub fn with_cert_file<S: Into<String>>(self, cert_file: S) -> Self

Source

pub fn with_pkey_file<S: Into<String>>(self, pkey_file: S) -> Self

Source

pub fn with_prov_file<S: Into<String>>(self, prov_file: S) -> Self

Source

pub fn with_password<S: Into<String>>(self, password: S) -> Self

Source

pub fn with_bundle_id<S: Into<String>>(self, bundle_id: S) -> Self

Source

pub fn with_bundle_name<S: Into<String>>(self, bundle_name: S) -> Self

Source

pub fn with_bundle_version<S: Into<String>>(self, bundle_version: S) -> Self

Source

pub fn with_entitlements_file<S: Into<String>>( self, entitlements_file: S, ) -> Self

Source

pub fn with_temp_folder<S: Into<String>>(self, temp_folder: S) -> Self

Source

pub fn with_weak_inject(self) -> Self

Source

pub fn with_force(self) -> Self

Source

pub fn with_check_signature(self) -> Self

Source

pub fn with_quiet(self) -> Self

Source

pub fn with_debug(self) -> Self

Source

pub fn add_dylib<S: Into<String>>(self, dylib_path: S) -> Self

Source

pub fn sign(&self) -> Result<(), ZSignError>

Trait Implementations§

Source§

impl Debug for ZSignOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ZSignOptions

Source§

fn default() -> ZSignOptions

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.