Searched refs:apkDigest (Results 1 – 4 of 4) sorted by relevance
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/ |
D | V4Signature.java | 71 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()
|
D | V4SchemeSigner.java | 177 byte[] apkDigest, byte[] additionalData, long fileSize) in generateSigningInfo() argument 193 … final V4Signature.SigningInfo signingInfoNoSignature = new V4Signature.SigningInfo(apkDigest, in generateSigningInfo() 209 return new V4Signature.SigningInfo(apkDigest, in generateSigningInfo() 220 byte[] apkDigest = apkDigests.containsKey(VERSION_APK_SIGNATURE_SCHEME_V3) in generateSignature() 224 hashingInfo, apkDigest, additionalData, fileSize); in generateSignature() 232 apkDigest = apkDigests.get(VERSION_APK_SIGNATURE_SCHEME_V31); in generateSignature() 235 generateSigningInfo(signerConfig.v41Config, hashingInfo, apkDigest, in generateSignature()
|
D | V4SchemeVerifier.java | 231 0 /* signature algorithm id doesn't matter here */, signingInfo.apkDigest); in parseAndVerifySignatureBlock()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/ |
D | SourceStampVerifier.java | 82 byte[] apkDigest, in verifyV1SourceStamp() argument 96 apkDigest, in verifyV1SourceStamp()
|