Click or drag to resize

Document Sign Method (Stream, Byte , String)

Create digitally signed word document. Digital signature of documents support only DOC and DOCX formats.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public static byte[] Sign(
	Stream sourceStream,
	byte[] certificateData,
	string securePassword
)

Parameters

sourceStream
Type: System.IO Stream
Source file stream.
certificateData
Type: System Byte
the certificate data.
securePassword
Type: System String
Password of the certificate.

Return Value

Type: Byte
Bytes of signed word document
See Also