equals
Overrides the equals method of the Any class.
This method checks if the current PEMKey object is equal to the specified other object. Two PEMKey objects are considered equal if they have the same keyType and keyData.
Return
true if the other object is equal to the current PEMKey object, false otherwise.
Parameters
other
The object to compare for equality.