SignatureProvider Interface

public interface SignatureProvider

Interface for a valid signature provider

Method Summary

Modifier and Type Method and Description
abstract java.lang.String sign(String keyName, String data, String generationId)

Sign the provided data using the provided key name

Method Details

sign

public abstract 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:

java.io.IOException - If the http client cannot reach the signing party
TransportException - If the http client cannot reach the signing party
java.net.URISyntaxException - If the http client cannot reach the signing party
HsmException - If the http client cannot reach the signing party

Applies to