Represents a Decentralized Identifier (DID) entity.
The DID string.
An optional alias for the DID.
Checks if the current instance is equal to the given other object.
Calculates the hash code for this object.