PdfSignatureFieldSign Method (PdfSigner)
The length of the signature returned by the signer must be less than EstimatedSignatureContentsLength.
The name of the preferred signature handler to use when validating the signature (Filter entry) is Adobe.PPKLite, the Format of the returned PdfSignature instance is SignatureFormat and the ContentsLength is EstimatedSignatureContentsLength bytes.
To finish the signing, call any of the Save Overload. Next signing cannot be initiated before the current one is not finished.
public PdfSignature Sign( PdfSigner signer )
Public Function Sign ( signer As PdfSigner ) As PdfSignature
|ArgumentNullException||signer is .|
|InvalidOperationException||This PdfSignatureField is not contained in the Fields of this PDF document. -or- Signing/timestamping of the PDF file has already been initiated on some PdfSignatureField in this PDF document. Finish that signing/timestamping by calling any of the Save Overload before initiating a new signing/timestamping on this PdfSignatureField.|