SignatureProvider.sign(String keyName, String data, String generationId) 方法

定义

Sign the provided data using the provided key name

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

参数

keyName
String

the key used for signing

data
String

the data to be signed

generationId
String

the generation id

返回

String

the signed data

例外

IOException

If the http client cannot reach the signing party

TransportException

If the http client cannot reach the signing party

URISyntaxException

If the url for the signing party cannot be parsed

HsmException

if the hsm raises an exception

适用于