PADESSignVisibleSignatureValve
Signs pdf document according to PADES requirements. Additionally, the valve adds a visual representation of the signature on the last page of the document. The valve adds a pdf page to the document IF there are no signatures present.
Supports profiles B & LTA.
Properties
Example Configuration 1
{ "name" : "PADESSignVisibleSignatureValve", "enabled" : "true", "config" : { "keyStoreID" : "824d48cc-070e-44fc-8367-e6702385b095", "pdfSourceData" : "{{item.b64}}", "backDropImage" : "resources/defaults/signature_1200x183.png", "signText" : "{{item.signText}}", "padesProfile" : "lta", "tsaUrl" : "http://timestamp.digicert.com", "topOffset" : "35", "leftOffset" : "35", "padding" : "5", "pdfTarget" : "document",
"requireVisualSignature" : "false" } }
Example Configuration 2
{
"name": "CreateShortTermKeyStoreValve",
"enabled": "true",
"config": {
"subjectKeyParamater": "CN={{request.name}} ({{request.method}}),o=phenixid",
"caTemplateKeyParamater": "35edf55c-e5c3-4743-babc-a9905f49b127",
"keyUsage": [
"true",
"true"
]
}
},
{
"name": "PADESSignVisibleSignatureValve",
"enabled": "true",
"config": {
"keyStoreID": "{{item.keyStoreId}}",
"pdfSourceData": "{{item.temporary}}",
"backDropImage": "/opt/PhenixID/Server/4_0_2/pdf_background/mall.png",
"signText": "{{request.name}} with {{request.method}}",
"topOffset": "35",
"leftOffset": "35",
"padding": "5",
"pdfTarget": "document"
}
},
Requirement
- The backdrop image should have the size of 1200x183. Use attached backdrop example.