Home
last modified time | relevance | path

Searched refs:getLengthPrefixedSlice (Results 1 – 10 of 10) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java188 signers = ApkSigningBlockUtils.getLengthPrefixedSlice(apkSignatureSchemeV2Block); in parseSigners()
213 ByteBuffer signer = ApkSigningBlockUtils.getLengthPrefixedSlice(signers); in parseSigners()
252 ByteBuffer signedData = ApkSigningBlockUtils.getLengthPrefixedSlice(signerBlock); in parseSigner()
258 ByteBuffer signatures = ApkSigningBlockUtils.getLengthPrefixedSlice(signerBlock); in parseSigner()
267 ByteBuffer signature = ApkSigningBlockUtils.getLengthPrefixedSlice(signatures); in parseSigner()
340 ByteBuffer digests = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner()
341 ByteBuffer certificates = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner()
342 ByteBuffer additionalAttributes = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner()
395 ByteBuffer digest = ApkSigningBlockUtils.getLengthPrefixedSlice(digests); in parseSigner()
432 ApkSigningBlockUtils.getLengthPrefixedSlice(additionalAttributes); in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java19 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.getLengthPrefixedSlice;
238 signers = getLengthPrefixedSlice(apkSignatureSchemeV3Block); in parseSigners()
263 ByteBuffer signer = getLengthPrefixedSlice(signers); in parseSigners()
290 ByteBuffer signedData = getLengthPrefixedSlice(signerBlock); in parseSigner()
304 ByteBuffer signatures = getLengthPrefixedSlice(signerBlock); in parseSigner()
313 ByteBuffer signature = getLengthPrefixedSlice(signatures); in parseSigner()
388 ByteBuffer digests = getLengthPrefixedSlice(signedData); in parseSigner()
389 ByteBuffer certificates = getLengthPrefixedSlice(signedData); in parseSigner()
405 ByteBuffer additionalAttributes = getLengthPrefixedSlice(signedData); in parseSigner()
457 ByteBuffer digest = getLengthPrefixedSlice(digests); in parseSigner()
[all …]
DV3SigningCertificateLineage.java21 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.getLengthPrefixedSlice;
108 ByteBuffer nodeBytes = getLengthPrefixedSlice(inputBytes); in readSigningCertificateLineage()
109 ByteBuffer signedData = getLengthPrefixedSlice(nodeBytes); in readSigningCertificateLineage()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampVerifier.java119 ApkSigningBlockUtils.getLengthPrefixedSlice(sourceStampBlockData); in verifyV2SourceStamp()
123 ApkSigningBlockUtils.getLengthPrefixedSlice(signedSignatureSchemes); in verifyV2SourceStamp()
198 ByteBuffer signatures = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in verifySourceStampSignature()
204 ByteBuffer signature = ApkSigningBlockUtils.getLengthPrefixedSlice(signatures); in verifySourceStampSignature()
DV1SourceStampVerifier.java109 ApkSigningBlockUtils.getLengthPrefixedSlice(sourceStampBlock); in verify()
DV2SourceStampVerifier.java111 ApkSigningBlockUtils.getLengthPrefixedSlice(sourceStampBlock); in verify()
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java19 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.getLengthPrefixedSlice;
210 ByteBuffer signers = getLengthPrefixedSlice(signatureInfo.signatureBlock); in readFromApkDataSource()
213 ByteBuffer signer = getLengthPrefixedSlice(signers); in readFromApkDataSource()
214 ByteBuffer signedData = getLengthPrefixedSlice(signer); in readFromApkDataSource()
256 getLengthPrefixedSlice(signedData); in readFromSignedData()
257 getLengthPrefixedSlice(signedData); in readFromSignedData()
261 ByteBuffer additionalAttributes = getLengthPrefixedSlice(signedData); in readFromSignedData()
264 ByteBuffer attribute = getLengthPrefixedSlice(additionalAttributes); in readFromSignedData()
450 getLengthPrefixedSlice(inputByteBuffer)); in read()
/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java1227 ApkSigningBlockUtils.getLengthPrefixedSlice(signatureInfo.signatureBlock); in getRSAPublicKeyFromSigningBlock()
1228 ByteBuffer signer = ApkSigningBlockUtils.getLengthPrefixedSlice(signers); in getRSAPublicKeyFromSigningBlock()
1231 ApkSigningBlockUtils.getLengthPrefixedSlice(signer); in getRSAPublicKeyFromSigningBlock()
1237 ApkSigningBlockUtils.getLengthPrefixedSlice(signer); in getRSAPublicKeyFromSigningBlock()
1238 ByteBuffer publicKey = ApkSigningBlockUtils.getLengthPrefixedSlice(signer); in getRSAPublicKeyFromSigningBlock()
DSigningCertificateLineageTest.java254 ByteBuffer attribute = ApkSigningBlockUtils.getLengthPrefixedSlice(v3SignerAttribute); in testLineageFromV3SignerAttribute()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java391 public static ByteBuffer getLengthPrefixedSlice(ByteBuffer source) throws ApkFormatException { in getLengthPrefixedSlice() method in ApkSigningBlockUtils