COSESignature.deserialize constructor
      
      COSESignature.deserialize(
    
    
- CborIterableObject<Iterable> cbor
Implementation
factory COSESignature.deserialize(CborIterableObject cbor) {
  return COSESignature(
      headers: COSEHeaders(
          protected: COSEProtectedHeaderMap.deserialize(
              cbor.elementAt<CborBytesValue>(0)),
          unprotected:
              COSEHeaderMap.deserialize(cbor.elementAt<CborMapValue>(1))),
      signatures: cbor.elementAt<CborBytesValue>(2).value,
      serializationConfig: COSESerializationConfig(encoding: cbor.encoding));
}