Skip to main content

PdfDocumentSigner Members

A helper class used to apply signatures to PDF documents.

Constructors

Name Description
PdfDocumentSigner(Stream, String, Boolean) 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) Initializes a new instance of the PdfDocumentSigner class with specified settings.
PdfDocumentSigner(String, String) Initializes a new PdfDocumentSigner class instance with the specified settings.
PdfDocumentSigner(String) Initializes a new PdfDocumentSigner class instance with 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.
CreateDXBitmap(PdfSignatureBuilder, Size) static Generates a signature image based on the appearance parameters.
Dispose() Disposes of the PdfDocumentSigner object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetPdfPkcs7Signature(String) Retrieves the PKCS#7 signature of the signature field.
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