COSESignatures.deserialize constructor

COSESignatures.deserialize(
  1. CborIterableObject<Iterable> cbor
)

Implementation

factory COSESignatures.deserialize(CborIterableObject cbor) {
  return COSESignatures(
      signatures: cbor
          .valueAsListOf<CborListValue>()
          .map((e) => COSESignature.deserialize(e))
          .toList(),
      serializationConfig: COSESerializationConfig(encoding: cbor.encoding));
}