Home
last modified time | relevance | path

Searched refs:LengthPrefixed (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/libs/apkverify/src/
Dv3.rs31 use crate::bytes_ext::{BytesExt, LengthPrefixed, ReadFromBytes};
36 type Signers = LengthPrefixed<Vec<LengthPrefixed<Signer>>>;
40 signed_data: LengthPrefixed<Bytes>, // not verified yet
43 signatures: LengthPrefixed<Vec<LengthPrefixed<Signature>>>,
50 digests: LengthPrefixed<Vec<LengthPrefixed<Digest>>>,
51 certificates: LengthPrefixed<Vec<LengthPrefixed<X509Certificate>>>,
55 additional_attributes: LengthPrefixed<Vec<LengthPrefixed<AdditionalAttributes>>>,
62 signature: LengthPrefixed<Bytes>,
68 digest: LengthPrefixed<Bytes>,
271 let raw_public_key = buf.read::<LengthPrefixed<Bytes>>()?; in read_from_bytes()
Dbytes_ext.rs24 pub struct LengthPrefixed<T> { struct
28 impl<T> Deref for LengthPrefixed<T> { argument
35 impl<T> LengthPrefixed<T> { implementation
74 impl<T: ReadFromBytes> ReadFromBytes for LengthPrefixed<T> { implementation
78 Ok(LengthPrefixed { inner }) in read_from_bytes()