XFINIUM.PDF Documentation
CreateSignature Method



Xfinium.Pdf.DigitalSignatures Namespace > PdfCustomDigitalSignature Class : CreateSignature Method
The content of the PDF file over which the signature should be computed.
Override this method to create your own custom signature.
Syntax
'Declaration
 
Public Overridable Function CreateSignature( _
   ByVal contentToBeSigned As Stream _
) As Byte()
'Usage
 
Dim instance As PdfCustomDigitalSignature
Dim contentToBeSigned As Stream
Dim value() As Byte
 
value = instance.CreateSignature(contentToBeSigned)
public virtual byte[] CreateSignature( 
   Stream contentToBeSigned
)
public:
virtual array<byte>^ CreateSignature( 
   Stream^ contentToBeSigned
) 

Parameters

contentToBeSigned
The content of the PDF file over which the signature should be computed.

Return Value

The full signature object.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfCustomDigitalSignature Class
PdfCustomDigitalSignature Members