This class represents a Key object. It contains the following properties:
The decentralized identifier associated with the key (optional).
The index value associated with the key (optional).
The key value.
The recovery ID associated with the key (optional).
Determines whether the current object is equal to another object.
Calculates the hash code value for the current object.