[]
Represents a PDF signature object.
get contactInfo(): string;
Gets the information provided by the signer to enable a recipient to contact the signer to verify the signature (for example, a phone number).
string
get contents(): Uint8Array<ArrayBufferLike>;
Gets the raw signature contents.
Uint8Array<ArrayBufferLike>
The signature value as a Uint8Array, or null if not present.
get doc(): PdfDocument;
Gets the PdfDocument owning this signature.
get filter(): string;
Gets the name of the preferred signature handler to use when validating this signature.
string
get id(): number;
Gets the reference to the object.
number
get location(): string;
Gets the CPU host name or physical location of the signing.
string
get om(): ObjectManager;
Gets the owner ObjectManager instance.
get reason(): string;
Gets the reason for the signing, such as "I agree...".
string
get signerName(): string;
Gets the name of the person or authority signing the document. This value should be used only when it is not possible to extract the name from the signature; for example, from the certificate of the signer.
string
get signingTime(): PdfDateTime;
Gets the time of signing. Depending on the signature handler, this may be a normal unverified computer time or a time generated in a verifiable way from a secure time server. This value should be used only when the time of signing is not available in the signature; for example, a time stamp can be embedded in a PKCS#7 binary data object (see PDF specification for more details).
get subFilter(): string;
Gets a name that describes the encoding of the signature value and key information in the signature dictionary.
string
get type(): string;
Gets the signature type, if present, shall be "Sig" for a signature dictionary or "DocTimeStamp" for a time-stamp signature dictionary.
string
free(): void;
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
parseContent(): Pkcs7Content;
Parses the signature contents and returns a structured representation.
A Pkcs7Content object created by parsing the value of PdfSignature#contents.
rebind(omTo): void;
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void