Remote Signature API: sign

Purpose

This operation is called to request the generation of a remote signature.

Interface

Remote Signature API (see [IF_RSAPI_JS] and/or [IF_RSAPI_JV])

Method of use

The operation is called by a client software according to the specifion on the Remote Signature API (see [IF_RSAPI_JS] and/or [IF_RSAPI_JV]).

Input

Parameter

Type

Description

hashAlgorithm

HashAlgorithm

String

The hash algorithm to be used within the remote signatures process (e.g.: "sha256", "sha384", "sha512").

keyId

String

KeyID of the signature key to be used for the remote signature process.


hashValues

Binary

String[]

The hash values of the data to be signed in the remote signature process.

Output

Parameter

Type

Description

signature(s)

String

Created signature(s), e.g.:

{ "123": "MIIHtQYJKoZIhvcNAQcC...dxteY7b0vcjCgk1aFnxd"}

Error messages

Type

Reason

-

RemoteSignatureException

Table 50: Operation login