ISignMethodV2Addin
Add-in responsible for implementing logic to determine available allowed signing methods.
Trigger Event(s): When a signature request is performed (example: a signature field clicked on the client-browser) |
Method | Description | ||
---|---|---|---|
getAllowedSignatureMethods |
Retrieves all available signing methods for a given artifact or artifact object |
||
Parameter |
Type |
Description |
|
details |
ArtifactDetails |
Artifact context with read-only access privileges |
|
fieldId |
String |
Unique identifier of the field to be signed |
|
Returns |
Type |
Description |
|
AllowedSignMethods |
Map<SignMethods,HashMap<String,String>> |
Object representing the allowed sign methods |
eSign brings an out-of-the box implementation for this interface that is described below |
Implementation | Default | Description |
---|---|---|
- |
- |
- |
Configuration
First the add-in needs to be loaded as an extension,
"_comment" : "List all the extensions to be used",
"extensions" :
[
...
{
"name": "artifact-sign-v2",
"class": "novabase.connect.paperless.esign.core.extensions.impl.DefaultSignMethodV2Addin"
},
...
]
Optionally, set as the default add-in by establishing the class path for the type "artifact_sign_method_v2"
"_comment" : "List all the default addins to be used",
"addins" :
[
...
{
"type": "artifact_allowed_sign_method",
"extension": "artifact-sign-v2"
},
...
]