iText 9.0.0 API
|
Represents the signature dictionary. More...
Public Member Functions |
|
PdfSignature () | |
Creates new PdfSignature. More... |
|
PdfSignature (PdfName filter, PdfName subFilter) | |
Creates new PdfSignature. More... |
|
PdfSignature (PdfDictionary sigDictionary) | |
Creates new PdfSignature instance from the provided iText.Kernel.Pdf.PdfDictionary. More... |
|
virtual PdfName | GetSubFilter () |
A name that describes the encoding of the signature value and key information in the signature dictionary. More... |
|
virtual PdfName | GetType () |
The type of PDF object that the wrapped dictionary describes; if present, shall be iText.Kernel.Pdf.PdfName.Sig for a signature dictionary or iText.Kernel.Pdf.PdfName.DocTimeStamp for a timestamp signature dictionary. More... |
|
virtual void | SetByteRange (int[] range) |
Sets the /ByteRange. More... |
|
virtual PdfArray | GetByteRange () |
Gets the /ByteRange. More... |
|
virtual void | SetContents (byte[] contents) |
Sets the /Contents value to the specified byte[]. More... |
|
virtual PdfString | GetContents () |
Gets the /Contents entry value. More... |
|
virtual void | SetCert (byte[] cert) |
Sets the /Cert value of this signature. More... |
|
virtual PdfString | GetCert () |
Gets the /Cert entry value of this signature. More... |
|
virtual PdfObject | GetCertObject () |
Gets the /Cert entry value of this signature. More... |
|
virtual void | SetName (String name) |
Sets the /Name of the person signing the document. More... |
|
virtual String | GetName () |
gets the /Name of the person signing the document. More... |
|
virtual void | SetDate (PdfDate date) |
Sets the /M value. More... |
|
virtual PdfString | GetDate () |
Gets the /M value. More... |
|
virtual void | SetLocation (String location) |
Sets the /Location value. More... |
|
virtual String | GetLocation () |
Gets the /Location entry value. More... |
|
virtual void | SetReason (String reason) |
Sets the /Reason value. More... |
|
virtual String | GetReason () |
Gets the /Reason value. More... |
|
virtual void | SetSignatureCreator (String signatureCreator) |
Sets the signature creator name in the PdfSignatureBuildProperties dictionary. More... |
|
virtual void | SetContact (String contactInfo) |
Sets the /ContactInfo value. More... |
|
virtual iText.Signatures.PdfSignature | Put (PdfName key, PdfObject value) |
Add new key-value pair to the signature dictionary. More... |
|
Public Member Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > | |
virtual T | GetPdfObject () |
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document, PdfIndirectReference reference) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | SetModified () |
virtual void | Flush () |
virtual bool | IsFlushed () |
Protected Member Functions |
|
override bool | IsWrappedObjectMustBeIndirect () |
Defines if the object behind this wrapper must be an indirect object in the resultant document. More... |
|
Additional Inherited Members |
|
Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > | |
PdfObjectWrapper (T pdfObject) | |
virtual void | SetPdfObject (T pdfObject) |
virtual void | SetForbidRelease () |
virtual void | UnsetForbidRelease () |
virtual void | EnsureUnderlyingObjectHasIndirectReference () |
Static Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > | |
static void | MarkObjectAsIndirect (PdfObject pdfObject) |
static void | EnsureObjectIsAddedToDocument (PdfObject @object) |
Some wrappers use object's indirect reference to obtain the PdfDocument to which the object belongs to. More... |
|
Represents the signature dictionary.
|
inline |
Creates new PdfSignature.
Creates new PdfSignature.
filter | PdfName of the signature handler to use when validating this signature |
subFilter | PdfName that describes the encoding of the signature |
|
inline |
Creates new PdfSignature instance from the provided iText.Kernel.Pdf.PdfDictionary.
sigDictionary |
iText.Kernel.Pdf.PdfDictionary to create new PdfSignature instance from
|
inlinevirtual |
Gets the /ByteRange.
|
inlinevirtual |
Gets the /Cert entry value of this signature.
Gets the /Cert entry value of this signature. See ISO 32000-1 12.8.1, Table 252 – Entries in a signature dictionary.
|
inlinevirtual |
Gets the /Cert entry value of this signature.
Gets the /Cert entry value of this signature. /Cert entry required when SubFilter is adbe.x509.rsa_sha1. May be array or byte string.
|
inlinevirtual |
Gets the /Contents entry value.
Gets the /Contents entry value. See ISO 32000-1 12.8.1, Table 252 – Entries in a signature dictionary.
|
inlinevirtual |
Gets the /M value.
Gets the /M value. Should only be used if the time of signing is not available in the signature.
iText.Kernel.Pdf.PdfString which denotes time of signing.
|
inlinevirtual |
Gets the /Location entry value.
|
inlinevirtual |
gets the /Name of the person signing the document.
|
inlinevirtual |
Gets the /Reason value.
|
inlinevirtual |
A name that describes the encoding of the signature value and key information in the signature dictionary.
|
inlinevirtual |
The type of PDF object that the wrapped dictionary describes; if present, shall be iText.Kernel.Pdf.PdfName.Sig for a signature dictionary or iText.Kernel.Pdf.PdfName.DocTimeStamp for a timestamp signature dictionary.
The type of PDF object that the wrapped dictionary describes; if present, shall be iText.Kernel.Pdf.PdfName.Sig for a signature dictionary or iText.Kernel.Pdf.PdfName.DocTimeStamp for a timestamp signature dictionary. Shall be not null if it's value is iText.Kernel.Pdf.PdfName.DocTimeStamp . The default value is: iText.Kernel.Pdf.PdfName.Sig.
|
inlineprotectedvirtual |
Defines if the object behind this wrapper must be an indirect object in the resultant document.
Defines if the object behind this wrapper must be an indirect object in the resultant document.
Implements iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary >.
|
inlinevirtual |
Add new key-value pair to the signature dictionary.
key |
iText.Kernel.Pdf.PdfName to be added as a key
value |
iText.Kernel.Pdf.PdfObject to be added as a value
|
inlinevirtual |
Sets the /ByteRange.
range | an array of pairs of integers that specifies the byte range used in the digest calculation. A pair consists of the starting byte offset and the length |
|
inlinevirtual |
Sets the /Cert value of this signature.
cert | the byte[] representing the certificate chain |
|
inlinevirtual |
Sets the /ContactInfo value.
contactInfo | information to contact the person who signed this document |
|
inlinevirtual |
Sets the /Contents value to the specified byte[].
contents | a byte[] representing the digest |
|
inlinevirtual |
Sets the /M value.
Sets the /M value. Should only be used if the time of signing is not available in the signature.
date | time of signing |
|
inlinevirtual |
Sets the /Location value.
location | physical location of signing |
|
inlinevirtual |
Sets the /Name of the person signing the document.
name | name of the person signing the document |
|
inlinevirtual |
Sets the /Reason value.
reason | reason for signing |
|
inlinevirtual |
Sets the signature creator name in the PdfSignatureBuildProperties dictionary.
signatureCreator | name of the signature creator |