The different logical states the channel can be in. The channel starts out as NEW, and then steps through the
states until it becomes finalized. The server should have already been contacted and asked for a public key
by the time the NEW state is reached.

valueOf

Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)