Struct tugger_apple_codesign::EntitlementsBlob [−][src]
pub struct EntitlementsBlob<'a> { /* fields omitted */ }
Represents an Entitlements blob.
An entitlements blob contains an XML plist with a dict. Keys are strings of the entitlements being requested and values appear to be simple bools.
Implementations
impl<'a> EntitlementsBlob<'a>
[src]
impl<'a> EntitlementsBlob<'a>
[src]pub fn from_string(s: &impl ToString + ?Sized) -> Self
[src]
pub fn from_string(s: &impl ToString + ?Sized) -> Self
[src]Construct an instance using any string as the payload.
Trait Implementations
impl<'a> Blob<'a> for EntitlementsBlob<'a>
[src]
impl<'a> Blob<'a> for EntitlementsBlob<'a>
[src]fn from_blob_bytes(data: &'a [u8]) -> Result<Self, AppleCodesignError>
[src]
fn from_blob_bytes(data: &'a [u8]) -> Result<Self, AppleCodesignError>
[src]Attempt to construct an instance by parsing a bytes slice. Read more
fn serialize_payload(&self) -> Result<Vec<u8>, AppleCodesignError>
[src]
fn serialize_payload(&self) -> Result<Vec<u8>, AppleCodesignError>
[src]Serialize the payload of this blob to bytes. Read more
fn to_blob_bytes(&self) -> Result<Vec<u8>, AppleCodesignError>
[src]
fn to_blob_bytes(&self) -> Result<Vec<u8>, AppleCodesignError>
[src]Serialize this blob to bytes. Read more
fn digest_with(
&self,
hash_type: DigestType
) -> Result<Vec<u8>, AppleCodesignError>
[src]
fn digest_with(
&self,
hash_type: DigestType
) -> Result<Vec<u8>, AppleCodesignError>
[src]Obtain the digest of the blob using the specified hasher. Read more
impl<'a> Debug for EntitlementsBlob<'a>
[src]
impl<'a> Debug for EntitlementsBlob<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for EntitlementsBlob<'a>
impl<'a> Send for EntitlementsBlob<'a>
impl<'a> Sync for EntitlementsBlob<'a>
impl<'a> Unpin for EntitlementsBlob<'a>
impl<'a> UnwindSafe for EntitlementsBlob<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,