Skip to content
Commit 511b45b5 authored by Kenny Root's avatar Kenny Root
Browse files

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
parent bd8dd47f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment