Represents a credential value, which consists of an encoded value and its raw value.
Implementing classes are expected to provide implementation for both encoded and raw properties.