'Declaration Public Overloads Shared Sub Sign( _ ByVal inputStream As Stream, _ ByVal outputStream As Stream, _ ByVal certificate As DigitalCertificate, _ Optional ByVal signOptions As SignOptions _ )
'Usage Dim inputStream As Stream Dim outputStream As Stream Dim certificate As DigitalCertificate Dim signOptions As SignOptions DocX.Sign(inputStream, outputStream, certificate, signOptions)
public static void Sign( Stream inputStream, Stream outputStream, DigitalCertificate certificate, SignOptions signOptions )
Parameters
- inputStream
- The stream containing the document to sign.
- outputStream
- The stream that will contain the signed document.
- certificate
- The certificate used to sign the stream.
- signOptions
- The options set to sign the stream. By default, null.