notary / shareandcharge.openchargingnetwork.notary / Notary / deserialize

deserialize

@JvmStatic fun deserialize(ocnSignature: String): Notary

Deserialize an OCN-Signature header (base64-encoded JSON-serialized string) into a Notary object which can verify the request.

Parameters

ocnSignature - the header value of "OCN-Signature"

Returns
Notary object