Home
last modified time | relevance | path

Searched refs:payloadSize (Results 1 – 5 of 5) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SigningCertificateLineage.java190 int payloadSize = 4 + encodedSigningCertificateLineage.length; in encodeSigningCertificateLineage() local
191 ByteBuffer encodedWithVersion = ByteBuffer.allocate(payloadSize); in encodeSigningCertificateLineage()
216 int payloadSize = prefixedSignedData.length + 4 + 4 + prefixedSignature.length; in encodeSigningCertificateNode() local
217 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeSigningCertificateNode()
229 int payloadSize = 4 + prefixedCertificate.length; in encodeSignedData() local
230 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeSignedData()
DV3SchemeSigner.java239 int payloadSize = in encodeSigner() local
246 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeSigner()
280 int payloadSize = in encodeSignedData() local
287 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeSignedData()
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java483 int payloadSize = 4 + 4 + 4 + encodedLineage.length; in write() local
484 ByteBuffer result = ByteBuffer.allocate(payloadSize); in write()
501 int payloadSize = 4 + 4 + encodedLineage.length; in generateV3SignerAttribute() local
502 ByteBuffer result = ByteBuffer.allocate(payloadSize); in generateV3SignerAttribute()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeSigner.java268 int payloadSize = 4 + 4 + 4; in generateAdditionalAttributes() local
269 ByteBuffer result = ByteBuffer.allocate(payloadSize); in generateAdditionalAttributes()
271 result.putInt(payloadSize - 4); in generateAdditionalAttributes()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java871 int payloadSize = 0; in encodeAsSequenceOfLengthPrefixedElements() local
873 payloadSize += 4 + element.length; in encodeAsSequenceOfLengthPrefixedElements()
875 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeAsSequenceOfLengthPrefixedElements()