equals

open operator override fun equals(other: Any?): Boolean(source)

Checks whether the current PublicKey object is equal to the specified other object.

Two PublicKey objects are considered equal if they have the same key curve and value.

Return

true if the objects are equal, false otherwise.

Parameters

other

The object to compare for equality.