Initializes a new instance of RawSignedModel
.
The content snapshot in UTF-8.
The signatures. If signatures themselves have snapshots, those must also be in UTF-8.
The content snapshot in UTF-8.
The signatures. If signatures themselves have snapshots, those must also be in UTF-8.
Same as RawSignedModel.toJson. Please use that instead.
Same as RawSignedModel.toString. Please use that instead.
This is to make it work with JSON.stringify
, calls
RawSignedModel.toJson under the hood.
Returns a JSON-serializable representation of this model in the
format it is stored in the Virgil Cards Service. (i.e. with
contentSnapshot
and snapshot
s of the signatures as base64 encoded
strings.
Serializes this model to string in base64 encoding.
Converts the json
serializable object into a RawSignedModel
object.
JSON-serializable object returned by RawSignedModel.toJson method.
Converts the str
in base64 encoding into a RawSignedModel
object.
Base64 string representation of the card as returned by {@RawSignedModel.toString} method.
Intermediate representation of the Virgil Card with
contentSnapshot
andsnapshot
s of the signatures in UTF-8.