SignatureProvider Interface

public interface SignatureProvider

Interface for a valid signature provider

Method Summary

Modifier and Type Method and Description
String sign(String keyName, String data, String generationId)

Sign the provided data using the provided key name

Method Details

sign

public String sign(String keyName, String data, String generationId)

Sign the provided data using the provided key name

Parameters:

keyName - the key used for signing
data - the data to be signed
generationId - the generation id

Returns:

the signed data

Throws:

TransportException - If the http client cannot reach the signing party

Applies to