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>>)
Trait Implementations
impl<'a> Blob<'a> for BlobData<'a>
[src]
impl<'a> Blob<'a> for BlobData<'a>
[src]fn magic() -> u32
[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.
fn serialize_payload(&self) -> Result<Vec<u8>, AppleCodesignError>
[src]
fn to_blob_bytes(&self) -> Result<Vec<u8>, AppleCodesignError>
[src]
fn digest_with(
&self,
hash_type: DigestType
) -> Result<Vec<u8>, AppleCodesignError>
[src]
&self,
hash_type: DigestType
) -> Result<Vec<u8>, AppleCodesignError>
Auto Trait Implementations
impl<'a> RefUnwindSafe for BlobData<'a>
impl<'a> RefUnwindSafe for BlobData<'a>
impl<'a> UnwindSafe for BlobData<'a>
impl<'a> UnwindSafe for BlobData<'a>
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]