Skip to main content
.NET Framework 4.5.2+

PdfDeferredSigner.Sign(String, Byte[]) Method

Writes the signature contents and saves the signed document to the specified file.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v22.2.dll

Declaration

public void Sign(
    string filePath,
    byte[] signatureValue
)

Parameters

Name Type Description
filePath String

The path to the file to which to save the document.

signatureValue Byte[]

A DER-encoded PKCS#7 object, a DER-encoded CMS SignedData object or a TimeStampToken object (RFC 3161).

Remarks

Use the ITsaClient.GenerateTimeStamp(Byte[], String) or IExternalSigner.BuildSignature(Byte[], String) method to obtain the signature contents.

See Also