IPXC_Document::DeferedDigitalSignFieldPFX2 Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IPXC_Document::DeferedDigitalSignFieldPFX2 Method}} | {{#customTitle:IPXC_Document::DeferedDigitalSignFieldPFX2 Method}} | ||
{{#parentPage:PXV:IPXC_Document#Methods|DeferedDigitalSignFieldPFX2|method}} | {{#parentPage:PXV:IPXC_Document#Methods|DeferedDigitalSignFieldPFX2|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
Line 20: | Line 19: | ||
== Parameters == | == Parameters == | ||
;pPFXFileData | ;pPFXFileData | ||
− | :[in] Pointer to [[PXV:IMemBlock|IMemBlock]]. | + | :[in] Pointer to [[PXV:IMemBlock|IMemBlock]] containing a memory buffer where the signatories certificate (in PKCS#7 format) is stored. If there is more than one certificate stored within the specified buffer, the first located will be used. |
;sPFXPassword | ;sPFXPassword | ||
− | :[in] Value of LPWSTR. | + | :[in] Value of LPWSTR is used to decrypt and verify the PFX packet from the ''pPFXFileData'' buffer. |
;pField | ;pField | ||
− | :[in] Pointer to [[PXV:IPXC_FormField|IPXC_FormField]]. | + | :[in] Pointer to [[PXV:IPXC_FormField|IPXC_FormField]] containing the unsigned signature field to which the signature will be applied to. |
;nFlags | ;nFlags | ||
− | :[in] Value of ULONG. | + | :[in] Value of ULONG containing the [[PXV:PXC_SignDocumentFlags|sign document flags]] that determine how the signature field should appear on the page. |
;sReason | ;sReason | ||
− | :[in] Value of LPWSTR. | + | :[in] Value of LPWSTR specifying the reason for signing, such as (I agree...). |
;sLocation | ;sLocation | ||
− | :[in] Value of LPWSTR. | + | :[in] Value of LPWSTR specifying the CPU host name or physical location of the signing. |
;sContactInfo | ;sContactInfo | ||
− | :[in] Value of LPWSTR. | + | :[in] Value of LPWSTR specifying the information provided by the signatory to enable a recipient to contact the signatory to verify the signature; for example, a phone number. |
;sImageFile | ;sImageFile | ||
− | :[in] Value of LPWSTR. | + | :[in] Value of LPWSTR specifying the full path and file name of the image (if any) to be displayed within the signature field. |
== Return Value == | == Return Value == |
Latest revision as of 23:21, 25 April 2016
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT DeferedDigitalSignFieldPFX2([in] IMemBlock* pPFXFileData, [in] LPWSTR sPFXPassword, [in] IPXC_FormField* pField, [in] ULONG nFlags, [in] LPWSTR sReason, [in] LPWSTR sLocation, [in] LPWSTR sContactInfo, [in] LPWSTR sImageFile);
Parameters
- pPFXFileData
- [in] Pointer to IMemBlock containing a memory buffer where the signatories certificate (in PKCS#7 format) is stored. If there is more than one certificate stored within the specified buffer, the first located will be used.
- sPFXPassword
- [in] Value of LPWSTR is used to decrypt and verify the PFX packet from the pPFXFileData buffer.
- pField
- [in] Pointer to IPXC_FormField containing the unsigned signature field to which the signature will be applied to.
- nFlags
- [in] Value of ULONG containing the sign document flags that determine how the signature field should appear on the page.
- sReason
- [in] Value of LPWSTR specifying the reason for signing, such as (I agree...).
- sLocation
- [in] Value of LPWSTR specifying the CPU host name or physical location of the signing.
- sContactInfo
- [in] Value of LPWSTR specifying the information provided by the signatory to enable a recipient to contact the signatory to verify the signature; for example, a phone number.
- sImageFile
- [in] Value of LPWSTR specifying the full path and file name of the image (if any) to be displayed within the signature field.
Return Value
Returns S_OK if operation was successful or error code in other cases.