Back to Devexpress

PdfDeferredSigner.Sign(Stream, Byte[]) Method

officefileapi-devexpress-dot-pdf-dot-pdfdeferredsigner-dot-sign-x28-system-dot-io-dot-stream-system-dot-byte-x29.md

latest1.7 KB
Original Source

PdfDeferredSigner.Sign(Stream, Byte[]) Method

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

Namespace : DevExpress.Pdf

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public void Sign(
    Stream stream,
    byte[] signatureValue
)
vb
Public Sub Sign(
    stream As Stream,
    signatureValue As Byte()
)

Parameters

NameTypeDescription
streamStream

The stream 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 IExternalSigner.BuildSignature(Byte[], String) or ITsaClient.GenerateTimeStamp(Byte[], String) method to obtain the signature contents.

See Also

PdfDeferredSigner Class

PdfDeferredSigner Members

DevExpress.Pdf Namespace