Struct apple_codesign::SingleBundleSigner
source · [−]pub struct SingleBundleSigner { /* private fields */ }
Expand description
A primitive for signing a single Apple bundle.
Unlike BundleSigner, this type only signs a single bundle and is ignorant about nested bundles. You probably want to use BundleSigner as the interface for signing bundles, as failure to account for nested bundles can result in signature verification errors.
Implementations
sourceimpl SingleBundleSigner
impl SingleBundleSigner
sourcepub fn new(bundle: DirectoryBundle) -> Self
pub fn new(bundle: DirectoryBundle) -> Self
Construct a new instance.
sourcepub fn write_signed_bundle(
&self,
log: &Logger,
dest_dir: impl AsRef<Path>,
settings: &SigningSettings<'_>,
additional_macho_files: &[(String, SignedMachOInfo)]
) -> Result<DirectoryBundle, AppleCodesignError>
pub fn write_signed_bundle(
&self,
log: &Logger,
dest_dir: impl AsRef<Path>,
settings: &SigningSettings<'_>,
additional_macho_files: &[(String, SignedMachOInfo)]
) -> Result<DirectoryBundle, AppleCodesignError>
Write a signed bundle to the given directory.
Auto Trait Implementations
impl RefUnwindSafe for SingleBundleSigner
impl Send for SingleBundleSigner
impl Sync for SingleBundleSigner
impl Unpin for SingleBundleSigner
impl UnwindSafe for SingleBundleSigner
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<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> 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