CoseKeySerializer
Encapsulates serializing and deserializing all types of COSE keys. Actually, no CoseKey object is ever directly (de)serialized. Instead, all the whole structure of a CoseKey is duplicated into a discrete class used solely for (de)serialization. For EC keys using point compression, this wrapper is CompressedCompoundCoseKeySerialContainer, for all other key types, it is UncompressedCompoundCoseKeySerialContainer Both od these are flattened mammoth data structures devoid of encapsulation, as demanded by the COSE spec. Internally, deserialization employs a map to as a lookup table for CborLabels to reconstruct the correct key using the flattened mammoth.