Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4Signature.java37 public final int hashAlgorithm; // only 1 == SHA256 supported field in V4Signature.HashingInfo
42 HashingInfo(int hashAlgorithm, byte log2BlockSize, byte[] salt, byte[] rawRootHash) { in HashingInfo() argument
43 this.hashAlgorithm = hashAlgorithm; in HashingInfo()
51 final int hashAlgorithm = buffer.getInt(); in fromByteArray() local
55 return new HashingInfo(hashAlgorithm, log2BlockSize, salt, rawRootHash); in fromByteArray()
62 buffer.putInt(this.hashAlgorithm); in toByteArray()
232 buffer.putInt(hashingInfo.hashAlgorithm); in getSignedData()