commit | 511b45b531b0bf60a5e54e8dd99fbcab7bd39a45 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Thu Feb 20 09:26:03 2020 -0800 |
committer | Kenny Root <kroot@google.com> | Thu Feb 20 09:26:03 2020 -0800 |
tree | eaf52e9b278a77c9c67ab058f9b57884a5df12af | |
parent | bd8dd47fdecea6b803744a80459aadaa23789b79 [diff] |
RebootEscrowKey: use bytes for equivalence Since RebootEscrowKey started wrapping SecretKey, it is necessary to check equivalence via a method that does not do object equivalence. Use the underlying byte array in the tests. equals() could be implemented, but then hashCode() would need to be implemented which would be based on the private key. Test: atest RebootEscrowDataTest Change-Id: Ia5b0bb822dcd3e59b5898f390fa8670db0b8d4c9