Hi Aspose team,
I’m using the POST /pdf/{name}/sign
API to digitally sign a PDF file with a .pfx
certificate. Here’s the request I’m sending via curl
:
bash
CopyEdit
curl --location 'https://api.aspose.cloud/v3.0/pdf/file333.pdf/sign' \
--header 'authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"SignaturePath": "fred.pfx",
"FormFieldName": "sign1",
"SignatureType": "PKCS7",
"ShowDate": true,
"Password": "apples",
"Appearance": "rajat_sign.png",
"Reason": "reason",
"Visible": true,
"Rectangle": {
"LLX": 148,
"LLY": 456,
"URX": 29,
"URY": 541
},
"ShowProperties": false
}'
Issue:
- I want to display the signing date and timestamp.
- I do not want to show the
CN=fred
(the name in the.pfx
file). - When I set
"ShowProperties": false
, the date/time does not show either. - If I set
"ShowProperties": true
, then theCN=fred
appears, which I don’t want to show.