Enum tugger_code_signing::Signable [−][src]
pub enum Signable {
WindowsFile(PathBuf),
WindowsData(Vec<u8>),
MachOFile(PathBuf, Vec<u8>),
MachOData(Vec<u8>),
AppleBundle(PathBuf),
}Expand description
Represents a known, typed entity which is signable.
Variants
A file that is signable on Windows.
Tuple Fields of WindowsFile
0: PathBufData that is signable on Windows.
TODO store a Cow.
A signable Mach-O file.
We have to obtain the Mach-O data as part of evaluating whether it is signable. So we keep a reference to it to avoid a re-read later.
Signable Mach-O data.
An Apple bundle, persisted on the filesystem as a directory.
Tuple Fields of AppleBundle
0: PathBufImplementations
Obtain signing methods that are supported.
Whether we are capable of signing.
Obtain the filesystem path of the signable entity, if it is backed by a file.
Obtain the filesystem path of the signable directory, if it is backed by a directory.
pub fn destination_compatibility(
&self,
destination: &SigningDestination
) -> SigningDestinationCompatibility
pub fn destination_compatibility(
&self,
destination: &SigningDestination
) -> SigningDestinationCompatibility
Resolves the compatibility for signing this entity to a given SigningDestination.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Signable
impl UnwindSafe for Signable
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self