notary / shareandcharge.openchargingnetwork.notary / Notary / sign

sign

fun sign(valuesToSign: ValuesToSign<*>, privateKey: String): Notary

Create the signature based on an ValuesToSign object containing headers, url-encoded parameters and a generic body.

Parameters

valuesToSign - The ValuesToSign object whose values should be signed

privateKey - The Etheruem private key to sign the values with