Tests for equality between the specified object and this object. Two SecretKeySpec objects are considered equal if they are both SecretKey instances which have the same case-insensitive algorithm name and key encoding.
obj | the object to test for equality with this object. |
obj
is null or otherwise.
Diagram: Key