Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeSigner.java190 List<Pair<Integer, byte[]>> digests = in generateSignerBlock() local
201 digests.add(Pair.of(signatureAlgorithm.getId(), contentDigest)); in generateSignerBlock()
203 signedData.digests = digests; in generateSignerBlock()
257 byte[] digests = in encodeSignedData()
260 signedData.digests)); in encodeSignedData()
280 digests.length in encodeSignedData()
288 result.put(digests); in encodeSignedData()
316 public List<Pair<Integer, byte[]>> digests; field in V3SchemeSigner.V3SignatureSchemeBlock.SignedData
DV3SchemeVerifier.java384 ByteBuffer digests = getLengthPrefixedSlice(signedData); in parseSigner() local
446 while (digests.hasRemaining()) { in parseSigner()
449 ByteBuffer digest = getLengthPrefixedSlice(digests); in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DMessageDigestSink.java30 public MessageDigestSink(MessageDigest[] digests) { in MessageDigestSink() argument
31 mMessageDigests = digests; in MessageDigestSink()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeSigner.java205 List<Pair<Integer, byte[]>> digests = in generateSignerBlock() local
216 digests.add(Pair.of(signatureAlgorithm.getId(), contentDigest)); in generateSignerBlock()
218 signedData.digests = digests; in generateSignerBlock()
233 encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes(signedData.digests), in generateSignerBlock()
287 public List<Pair<Integer, byte[]>> digests; field in V2SchemeSigner.V2SignatureSchemeBlock.SignedData
DV2SchemeVerifier.java336 ByteBuffer digests = ApkSigningBlockUtils.getLengthPrefixedSlice(signedData); in parseSigner() local
383 while (digests.hasRemaining()) { in parseSigner()
386 ByteBuffer digest = ApkSigningBlockUtils.getLengthPrefixedSlice(digests); in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/util/
DDataSinks.java54 public static DataSink asDataSink(MessageDigest... digests) { in asDataSink() argument
55 return new MessageDigestSink(digests); in asDataSink()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java1730 private static byte[] getDigest(Collection<NamedDigest> digests, String jcaDigestAlgorithm) { in getDigest() argument
1731 for (NamedDigest digest : digests) { in getDigest()