Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampVerifier.java18 import static com.android.apksig.internal.apk.ApkSigningBlockUtilsLite.getLengthPrefixedSlice;
94 ByteBuffer apkDigestSignatures = getLengthPrefixedSlice(sourceStampBlockData); in verifyV1SourceStamp()
130 ByteBuffer signedSignatureSchemes = getLengthPrefixedSlice(sourceStampBlockData); in verifyV2SourceStamp()
133 ByteBuffer signedSignatureScheme = getLengthPrefixedSlice(signedSignatureSchemes); in verifyV2SourceStamp()
135 ByteBuffer apkDigestSignatures = getLengthPrefixedSlice(signedSignatureScheme); in verifyV2SourceStamp()
166 ByteBuffer stampAttributeData = getLengthPrefixedSlice(sourceStampBlockData); in verifyV2SourceStamp()
167 ByteBuffer stampAttributeDataSignatures = getLengthPrefixedSlice(sourceStampBlockData); in verifyV2SourceStamp()
235 ByteBuffer signature = getLengthPrefixedSlice(signatures); in verifySourceStampSignature()
311 ByteBuffer stampAttributes = getLengthPrefixedSlice(stampAttributeData); in parseStampAttributes()
316 ByteBuffer attribute = getLengthPrefixedSlice(stampAttributes); in parseStampAttributes()
DSourceStampCertificateLineage.java19 import static com.android.apksig.internal.apk.ApkSigningBlockUtilsLite.getLengthPrefixedSlice;
96 ByteBuffer nodeBytes = getLengthPrefixedSlice(inputBytes); in readSigningCertificateLineage()
97 ByteBuffer signedData = getLengthPrefixedSlice(nodeBytes); in readSigningCertificateLineage()
DV1SourceStampVerifier.java109 ApkSigningBlockUtils.getLengthPrefixedSlice(sourceStampBlock); in verify()
DV2SourceStampVerifier.java113 ApkSigningBlockUtilsLite.getLengthPrefixedSlice(sourceStampBlock); in verify()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java187 signers = ApkSigningBlockUtils.getLengthPrefixedSlice(apkSignatureSchemeV2Block); in parseSigners()
212 ByteBuffer signer = ApkSigningBlockUtils.getLengthPrefixedSlice(signers); in parseSigners()
253 ByteBuffer signedData = ApkSigningBlockUtils.getLengthPrefixedSlice(signerBlock); in parseSigner()
259 ByteBuffer signatures = ApkSigningBlockUtils.getLengthPrefixedSlice(signerBlock); in parseSigner()
268 ByteBuffer signature = ApkSigningBlockUtils.getLengthPrefixedSlice(signatures); in parseSigner()
341 ByteBuffer digests = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner()
342 ByteBuffer certificates = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner()
343 ByteBuffer additionalAttributes = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner()
396 ByteBuffer digest = ApkSigningBlockUtils.getLengthPrefixedSlice(digests); in parseSigner()
433 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;
293 signers = getLengthPrefixedSlice(mApkSignatureSchemeV3Block); in parseSigners()
318 ByteBuffer signer = getLengthPrefixedSlice(signers); in parseSigners()
343 ByteBuffer signedData = getLengthPrefixedSlice(signerBlock); in parseSigner()
357 ByteBuffer signatures = getLengthPrefixedSlice(signerBlock); in parseSigner()
366 ByteBuffer signature = getLengthPrefixedSlice(signatures); in parseSigner()
441 ByteBuffer digests = getLengthPrefixedSlice(signedData); in parseSigner()
442 ByteBuffer certificates = getLengthPrefixedSlice(signedData); in parseSigner()
458 ByteBuffer additionalAttributes = getLengthPrefixedSlice(signedData); in parseSigner()
510 ByteBuffer digest = getLengthPrefixedSlice(digests); in parseSigner()
[all …]
DV3SigningCertificateLineage.java21 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.getLengthPrefixedSlice;
109 ByteBuffer nodeBytes = getLengthPrefixedSlice(inputBytes); in readSigningCertificateLineage()
110 ByteBuffer signedData = getLengthPrefixedSlice(nodeBytes); in readSigningCertificateLineage()
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java19 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.getLengthPrefixedSlice;
236 ByteBuffer signers = getLengthPrefixedSlice(signatureInfo.signatureBlock); in readFromApkDataSource()
238 ByteBuffer signer = getLengthPrefixedSlice(signers); in readFromApkDataSource()
239 ByteBuffer signedData = getLengthPrefixedSlice(signer); in readFromApkDataSource()
283 getLengthPrefixedSlice(signedData); in readFromSignedData()
284 getLengthPrefixedSlice(signedData); in readFromSignedData()
288 ByteBuffer additionalAttributes = getLengthPrefixedSlice(signedData); in readFromSignedData()
291 ByteBuffer attribute = getLengthPrefixedSlice(additionalAttributes); in readFromSignedData()
482 getLengthPrefixedSlice(inputByteBuffer)); in read()
DSourceStampVerifier.java298 signers = ApkSigningBlockUtilsLite.getLengthPrefixedSlice(apkSignatureSchemeBlock); in parseSigners()
324 ByteBuffer signer = ApkSigningBlockUtilsLite.getLengthPrefixedSlice(signers); in parseSigners()
367 ByteBuffer signedData = ApkSigningBlockUtilsLite.getLengthPrefixedSlice(signerBlock); in parseSigner()
368 ByteBuffer digests = ApkSigningBlockUtilsLite.getLengthPrefixedSlice(signedData); in parseSigner()
369 ByteBuffer certificates = ApkSigningBlockUtilsLite.getLengthPrefixedSlice(signedData); in parseSigner()
374 ByteBuffer digest = ApkSigningBlockUtilsLite.getLengthPrefixedSlice(digests); in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java247 public static ByteBuffer getLengthPrefixedSlice(ByteBuffer source) throws ApkFormatException { in getLengthPrefixedSlice() method in ApkSigningBlockUtils
248 return ApkSigningBlockUtilsLite.getLengthPrefixedSlice(source); in getLengthPrefixedSlice()
980 ByteBuffer signersBuffer = getLengthPrefixedSlice(signatureBlockBuffer); in getApkSignatureBlockSigners()
985 ByteBuffer signer = getLengthPrefixedSlice(signersBuffer); in getApkSignatureBlockSigners()
990 ByteBuffer signedData = getLengthPrefixedSlice(signer); in getApkSignatureBlockSigners()
993 getLengthPrefixedSlice(signedData); in getApkSignatureBlockSigners()
994 ByteBuffer certificatesBuffer = getLengthPrefixedSlice(signedData); in getApkSignatureBlockSigners()
DApkSigningBlockUtilsLite.java345 public static ByteBuffer getLengthPrefixedSlice(ByteBuffer source) throws ApkFormatException { in getLengthPrefixedSlice() method in ApkSigningBlockUtilsLite
/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java2295 ApkSigningBlockUtils.getLengthPrefixedSlice(signatureInfo.signatureBlock); in getRSAPublicKeyFromSigningBlock()
2296 ByteBuffer signer = ApkSigningBlockUtils.getLengthPrefixedSlice(signers); in getRSAPublicKeyFromSigningBlock()
2299 ApkSigningBlockUtils.getLengthPrefixedSlice(signer); in getRSAPublicKeyFromSigningBlock()
2305 ApkSigningBlockUtils.getLengthPrefixedSlice(signer); in getRSAPublicKeyFromSigningBlock()
2306 ByteBuffer publicKey = ApkSigningBlockUtils.getLengthPrefixedSlice(signer); in getRSAPublicKeyFromSigningBlock()
DSigningCertificateLineageTest.java279 ByteBuffer attribute = ApkSigningBlockUtils.getLengthPrefixedSlice(v3SignerAttribute); in testLineageFromV3SignerAttribute()