Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java19 import static com.android.apksig.internal.apk.ApkSigningBlockUtils.getLengthPrefixedSlice;
237 signers = getLengthPrefixedSlice(apkSignatureSchemeV3Block); in parseSigners()
262 ByteBuffer signer = getLengthPrefixedSlice(signers); in parseSigners()
289 ByteBuffer signedData = getLengthPrefixedSlice(signerBlock); in parseSigner()
303 ByteBuffer signatures = getLengthPrefixedSlice(signerBlock); in parseSigner()
312 ByteBuffer signature = getLengthPrefixedSlice(signatures); in parseSigner()
387 ByteBuffer digests = getLengthPrefixedSlice(signedData); in parseSigner()
388 ByteBuffer certificates = getLengthPrefixedSlice(signedData); in parseSigner()
404 ByteBuffer additionalAttributes = getLengthPrefixedSlice(signedData); in parseSigner()
456 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/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/
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.java875 ByteBuffer signers = ApkSigningBlockUtils.getLengthPrefixedSlice( in getRSAPublicKeyFromSigningBlock()
877 ByteBuffer signer = ApkSigningBlockUtils.getLengthPrefixedSlice(signers); in getRSAPublicKeyFromSigningBlock()
880 ApkSigningBlockUtils.getLengthPrefixedSlice(signer); in getRSAPublicKeyFromSigningBlock()
886 ApkSigningBlockUtils.getLengthPrefixedSlice(signer); in getRSAPublicKeyFromSigningBlock()
887 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.java372 public static ByteBuffer getLengthPrefixedSlice(ByteBuffer source) throws ApkFormatException { in getLengthPrefixedSlice() method in ApkSigningBlockUtils