pub struct SigningBlock {
pub pairs: Vec<(BlockId, Vec<u8>)>,
}Expand description
The ID-value pairs of an APK signing block.
Fields§
§pairs: Vec<(BlockId, Vec<u8>)>Implementations§
Source§impl SigningBlock
impl SigningBlock
Sourcepub fn parse(block: &[u8]) -> Result<Self, VerifyError>
pub fn parse(block: &[u8]) -> Result<Self, VerifyError>
Parses a complete signing block, as located by
ApkLayout::signing_block.
Both size fields must equal the block’s length after the first.
Trait Implementations§
Source§impl Clone for SigningBlock
impl Clone for SigningBlock
Source§impl Debug for SigningBlock
impl Debug for SigningBlock
Source§impl Default for SigningBlock
impl Default for SigningBlock
impl Eq for SigningBlock
Source§impl PartialEq for SigningBlock
impl PartialEq for SigningBlock
impl StructuralPartialEq for SigningBlock
Auto Trait Implementations§
impl Freeze for SigningBlock
impl RefUnwindSafe for SigningBlock
impl Send for SigningBlock
impl Sync for SigningBlock
impl Unpin for SigningBlock
impl UnsafeUnpin for SigningBlock
impl UnwindSafe for SigningBlock
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.