Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeSigner.java180 int payloadSize = 4 + 4 + encodedLineage.length; in generateV3SignerAttribute() local
181 ByteBuffer result = ByteBuffer.allocate(payloadSize); in generateV3SignerAttribute()
195 int payloadSize = 4 + 4 + 4; in generateV3RotationMinSdkVersionStrippingProtectionAttribute() local
196 ByteBuffer result = ByteBuffer.allocate(payloadSize); in generateV3RotationMinSdkVersionStrippingProtectionAttribute()
198 result.putInt(payloadSize - 4); in generateV3RotationMinSdkVersionStrippingProtectionAttribute()
209 int payloadSize = 4 + 4; in generateV31RotationTargetsDevReleaseAttribute() local
210 ByteBuffer result = ByteBuffer.allocate(payloadSize); in generateV31RotationTargetsDevReleaseAttribute()
212 result.putInt(payloadSize - 4); in generateV31RotationTargetsDevReleaseAttribute()
331 int payloadSize = signedData.length + 4 + 4 + signatures.length + publicKey.length; in encodeSigner() local
333 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeSigner()
[all …]
DV3SigningCertificateLineage.java191 int payloadSize = 4 + encodedSigningCertificateLineage.length; in encodeSigningCertificateLineage() local
192 ByteBuffer encodedWithVersion = ByteBuffer.allocate(payloadSize); in encodeSigningCertificateLineage()
217 int payloadSize = prefixedSignedData.length + 4 + 4 + prefixedSignature.length; in encodeSigningCertificateNode() local
218 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeSigningCertificateNode()
230 int payloadSize = 4 + prefixedCertificate.length; in encodeSignedData() local
231 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeSignedData()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DV2SourceStampSigner.java182 int payloadSize = 0; in encodeStampAttributes() local
185 payloadSize += 4 + 4 + attributeValue.length; in encodeStampAttributes()
192 ByteBuffer result = ByteBuffer.allocate(4 + payloadSize); in encodeStampAttributes()
194 result.putInt(payloadSize); in encodeStampAttributes()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeSigner.java304 int payloadSize = 4 + 4 + 4; in generateAdditionalAttributes() local
305 ByteBuffer result = ByteBuffer.allocate(payloadSize); in generateAdditionalAttributes()
307 result.putInt(payloadSize - 4); in generateAdditionalAttributes()
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java515 int payloadSize = 4 + 4 + 4 + encodedLineage.length; in write() local
516 ByteBuffer result = ByteBuffer.allocate(payloadSize); in write()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java761 int payloadSize = 0; in encodeAsSequenceOfLengthPrefixedElements() local
763 payloadSize += 4 + element.length; in encodeAsSequenceOfLengthPrefixedElements()
765 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeAsSequenceOfLengthPrefixedElements()