All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfDocumentSigner Members

A helper class used to apply signatures to PDF documents.

Constructors

Name Description
PdfDocumentSigner(Stream) Initializes a new instance of the PdfDocumentSigner class with specified settings.
PdfDocumentSigner(Stream, String) Initializes a new PdfDocumentSigner class instance with the specified settings.
PdfDocumentSigner(Stream, String, Boolean) Initializes a new instance of the PdfDocumentSigner class with specified settings.
PdfDocumentSigner(String) Initializes a new PdfDocumentSigner class instance with specified settings.
PdfDocumentSigner(String, String) Initializes a new PdfDocumentSigner class instance with the specified settings.

Properties

Name Description
FailOnInvalidDocument Specifies whether to throw an exception when the document to sign is invalid.
PageCount Returns the total number of document pages.

Methods

Name Description
AddToDss(String, ICrlClient, IOcspClient, ICertificateStoreProvider) Adds information about the specified signature to the Document Security Store (DSS).
AddToDss(String, IList<Byte[]>, IList<Byte[]>, IList<Byte[]>) Adds information about the specified signature to the Document Security Store (DSS).
ClearSignatureField(String) Removes a signature applied to the specific signature field.
ClearSignatureFields() Removes signatures from all signed form fields.
CreateBitmap(PdfSignatureBuilder, Size) static Generates a signature image based on the appearance parameters.
Dispose() Disposes of the PdfDocumentSigner object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetSignatureFieldNames(Boolean) Retrieves names of signature fields.
GetSignatureInfo() Returns a list of objects that contain information about the signatures (certification level, signer name, etc.).
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SaveDocument(Stream, PdfSignatureBuilder[]) Saves the PDF document to a stream with the specified document signatures.
SaveDocument(String, PdfSignatureBuilder[]) Saves the PDF document to a file with the specified document signatures.
SignDeferred(PdfDeferredSignatureBuilder) Adds the signature to the document and retrieves the document hash for further signing.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also