[]
Provides security and encryption services and manages permissions for PdfDocument objects.
get decryptHandler(): SecurityHandlerBase;
Gets the SecurityHandlerBase used to decrypt PDF document during loading.
get decryptionStatus(): DecryptionStatus;
Gets the decryption status of the loaded document. This property has meaning only if a document has been loaded.
get doc(): PdfDocument;
Gets the PdfDocument object owning this object.
get encryptHandler(): SecurityHandlerBase;
Gets or sets the SecurityHandlerBase used to encrypt PDF document during saving. Same SecurityHandlerBase can not be used for Security#decryptHandler and Security#encryptHandler, use SecurityHandlerBase#clone.
set encryptHandler(value): void;
Gets or sets the SecurityHandlerBase used to encrypt PDF document during saving. Same SecurityHandlerBase can not be used for Security#decryptHandler and Security#encryptHandler, use SecurityHandlerBase#clone.
void
get id(): number;
Gets the reference to the object.
number
get om(): ObjectManager;
Gets the owner ObjectManager instance.
free(): void;
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(omTo): void;
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void
setEncryptOptions(options): void;
Creates the StandardSecurityHandler object and assigns it to the encryptHandler property. The type and properties of the StandardSecurityHandler object is determined by the .options object.
The tp.EncryptOptions object.
void