Home
last modified time | relevance | path

Searched refs:apkDigest (Results 1 – 4 of 4) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4Signature.java71 public final byte[] apkDigest; // used to match with the corresponding APK field in V4Signature.SigningInfo
78 SigningInfo(byte[] apkDigest, byte[] certificate, byte[] additionalData, in SigningInfo() argument
80 this.apkDigest = apkDigest; in SigningInfo()
93 byte[] apkDigest = readBytes(buffer); in fromByteBuffer()
99 return new SigningInfo(apkDigest, certificate, additionalData, publicKey, in fromByteBuffer()
104 final int size = bytesSize(this.apkDigest) + bytesSize(this.certificate) + bytesSize( in toByteArray()
108 writeBytes(buffer, this.apkDigest); in toByteArray()
227 signingInfo.apkDigest) + bytesSize(signingInfo.certificate) + bytesSize( in getSignedData()
236 writeBytes(buffer, signingInfo.apkDigest); in getSignedData()
DV4SchemeSigner.java140 final byte[] apkDigest = getApkDigest(apkContent); in generateV4Signature()
160 signature = generateSignature(signerConfig, hashingInfo, apkDigest, additionalData, in generateV4Signature()
172 byte[] apkDigest, byte[] additionalData, long fileSize) in generateSigningInfo() argument
188 … final V4Signature.SigningInfo signingInfoNoSignature = new V4Signature.SigningInfo(apkDigest, in generateSigningInfo()
204 return new V4Signature.SigningInfo(apkDigest, in generateSigningInfo()
212 byte[] apkDigest, byte[] additionalData, long fileSize) in generateSignature() argument
216 hashingInfo, apkDigest, additionalData, fileSize); in generateSignature()
222 generateSigningInfo(signerConfig.v41Config, hashingInfo, apkDigest, in generateSignature()
DV4SchemeVerifier.java231 0 /* signature algorithm id doesn't matter here */, signingInfo.apkDigest); in parseAndVerifySignatureBlock()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampVerifier.java82 byte[] apkDigest, in verifyV1SourceStamp() argument
96 apkDigest, in verifyV1SourceStamp()