notary / shareandcharge.openchargingnetwork.notary / Rewrite / verify

verify

fun verify(fields: List<String>, modifiedValues: OcpiRequest<*>, jsonPath: ParseContext, objectMapper: ObjectMapper): RewriteVerifyResult

Verify a rewrite given a modified request.

Parameters

fields - array of json paths dictating the order of values signed

modifiedValues - the newly modified request used to build the old request

Returns
RewriteVerifyResult with message validity and optional error message / re-built message