X500Principal.opEquals

Compares the specified {@code Object} with this {@code X500Principal} for equality.

<p> Specifically, this method returns {@code true} if the {@code Object} <i>o</i> is an {@code X500Principal} and if the respective canonical string representations (obtained via the {@code getName(X500Principal.CANONICAL)} method) of this object and <i>o</i> are equal.

<p> This implementation is compliant with the requirements of RFC 3280.

@param o Object to be compared for equality with this {@code X500Principal}

@return {@code true} if the specified {@code Object} is equal to this {@code X500Principal}, {@code false} otherwise

class X500Principal
override
bool
opEquals
(
Object o
)

Meta