class Rewrite
A Rewrite object contains information about a previous Notary object.
<init> |
A Rewrite object contains information about a previous Notary object. Rewrite(rewrittenFields: Map<String, Any?>, hash: String, rsv: String, signatory: String) |
hash |
the message hash of the overwritten message val hash: String |
rewrittenFields |
Key-Value pairs of JsonPaths with a corresponding value that was overwritten val rewrittenFields: Map<String, Any?> |
rsv |
the concatenated signature of the overwritten message val rsv: String |
signatory |
the signer of the overwritten message val signatory: String |
verify |
Verify a rewrite given a modified request. fun verify(fields: List<String>, modifiedValues: OcpiRequest<*>, jsonPath: ParseContext, objectMapper: ObjectMapper): RewriteVerifyResult |