COSEEncrypt.fromJson constructor
Implementation
factory COSEEncrypt.fromJson(Map<String, dynamic> json) {
return COSEEncrypt(
headers: COSEHeaders.fromJson(json["headers"]),
ciphertext: BytesUtils.tryFromHexString(json["ciphertext"]),
recipients: COSERecipients.fromJson(json["recipients"]),
serializationConfig: COSESerializationConfig.fromJson(
json["serialization_config"] ?? {}));
}