ISignatureSigningAddin

Add-in responsible for signing a given signature object.

Trigger Event(s): When signing using a server-side signature method
Table 1. ISignatureSigningAddin interface methods declaration and description
Method Description

getCertificateChain

Get signing certificate

Parameter

Type

Description

-

-

-

Returns

Type

Description

certificate

X509Certificate[]

Certificate chain to sign the object

sign

Parameter

Type

Description

signAlgorithm

String

Signature algorithm (RSA)

data

byte[]

Data to be signed

Returns

Type

Description

signedHash

byte[]

verify

Verifies the signature of a signed data

Parameter

Type

Description

signAlgorithm

String

Signature algorithm (RSA)

data

byte[]

Data to be signed

signedData

byte[]

Signed data

Returns

Type

Description

result

boolean

True if the signature is valid (i.e. from a trusted certificate)

getAlias

Determine the alias used to retrieve certificates and keys

Parameter

Type

Description

-

-

-

Returns

Type

Description

alias

String

Alias of the key used for signing

eSign brings an out-of-the box implementation for this interface that is described below
Table 2. Available implementations for ISessionListenerAddin
Implementation Default Description

StaticSignatureSigningAddin

Signs data server-side with a private key that is located in a .p12 file of configurable path and password (add-in configuration parameters)