commit | e36fe6bf46b832178bef636fdddc98c1407ca869 | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Tue Aug 10 17:47:43 2021 -0700 |
committer | Janis Danisevskis <jdanis@google.com> | Thu Oct 07 16:24:46 2021 -0700 |
tree | 47bf86c68eb742bfd9afd6e888e23098193064fc | |
parent | 6297dd2771afdbb1b13ae68a4fee86d3b039de6b [diff] |
Keystore 2.0 SPI: Fix contract between equals and hashCode 2 This fixes the contract between equals and hashCode in AndroidKeystorePublicKey. The previous fix made only a reference comparisson between certificate blobs. In this patch java.util.Arrays is used to compare and compute the hash of the array. Bug: 196118021 Test: See following CL. Change-Id: I2b8b7e740fb377de39fd21f763e15cb00024b2fc