Enum tugger_apple_codesign::BlobData[][src]

pub enum BlobData<'a> {
    Requirement(Box<RequirementBlob<'a>>),
    RequirementSet(Box<RequirementSetBlob<'a>>),
    CodeDirectory(Box<CodeDirectoryBlob<'a>>),
    EmbeddedSignature(Box<EmbeddedSignatureBlob<'a>>),
    EmbeddedSignatureOld(Box<EmbeddedSignatureOldBlob<'a>>),
    Entitlements(Box<EntitlementsBlob<'a>>),
    DetachedSignature(Box<DetachedSignatureBlob<'a>>),
    BlobWrapper(Box<BlobWrapperBlob<'a>>),
    Other(Box<OtherBlob<'a>>),
}

Represents a single, parsed Blob entry/slot.

Each variant corresponds to a CodeSigningMagic blob type.

Variants

Requirement(Box<RequirementBlob<'a>>)
RequirementSet(Box<RequirementSetBlob<'a>>)
CodeDirectory(Box<CodeDirectoryBlob<'a>>)
EmbeddedSignature(Box<EmbeddedSignatureBlob<'a>>)
EmbeddedSignatureOld(Box<EmbeddedSignatureOldBlob<'a>>)
Entitlements(Box<EntitlementsBlob<'a>>)
DetachedSignature(Box<DetachedSignatureBlob<'a>>)
BlobWrapper(Box<BlobWrapperBlob<'a>>)
Other(Box<OtherBlob<'a>>)

Trait Implementations

impl<'a> Blob<'a> for BlobData<'a>[src]

fn from_blob_bytes(data: &'a [u8]) -> Result<Self, AppleCodesignError>[src]

Parse blob data by reading its magic and feeding into magic-specific parser.

impl<'a> Debug for BlobData<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for BlobData<'a>

impl<'a> Send for BlobData<'a>

impl<'a> Sync for BlobData<'a>

impl<'a> Unpin for BlobData<'a>

impl<'a> UnwindSafe for BlobData<'a>

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<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, 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.