[]
Defines methods used to build the signature PDF dictionary and the binary signature container that is stored as Contents entry in the signature PDF dictionary.
public interface ISignatureBuilder
Builds the binary signature for a specified content.
byte[] Build(GcPdfDocument doc, Stream content, object customData)
doc
GcPdfDocumentThe GcPdfDocument object to sign.
content
System.IO.StreamThe stream representing the signed content.
customData
objectThe custom data returned by the Prepare(GcPdfDocument, out string, out string, out int, out object) method.
The binary signature container.
Prepares the signature builder.
void Prepare(GcPdfDocument doc, out string filter, out string subFilter, out int approximateSize, out object customData)
doc
GcPdfDocumentThe GcPdfDocument object to sign.
filter
stringOUT: The name of the preferred signature handler to use when validating this signature.
subFilter
stringOUT: The name that describes the encoding of the signature value and key information in the signature dictionary.
approximateSize
intOUT: The approximate size of the signature.
customData
objectOUT: The custom data that is passed to the Build(GcPdfDocument, Stream, object) method.