Uses of Class
org.apache.pdfbox.pdmodel.encryption.ProtectionPolicy
Packages that use ProtectionPolicy
Package
Description
The pdfparser package contains classes to parse PDF documents and objects within the document.
The PDModel package represents a high level API for creating and manipulating PDF documents.
The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers.
-
Uses of ProtectionPolicy in org.apache.pdfbox.pdfparser
Fields in org.apache.pdfbox.pdfparser with type parameters of type ProtectionPolicyModifier and TypeFieldDescriptionprotected SecurityHandler<? extends ProtectionPolicy> COSParser.securityHandlerThe security handler.Method parameters in org.apache.pdfbox.pdfparser with type arguments of type ProtectionPolicyModifier and TypeMethodDescriptionprotected voidBruteForceParser.bfSearchForObjStreams(XrefTrailerResolver trailerResolver, SecurityHandler<? extends ProtectionPolicy> securityHandler) Brute force search for all objects streams of a pdf.protected COSDictionaryBruteForceParser.rebuildTrailer(XrefTrailerResolver trailerResolver, SecurityHandler<? extends ProtectionPolicy> securityHandler) Rebuild the trailer dictionary if startxref can't be found. -
Uses of ProtectionPolicy in org.apache.pdfbox.pdmodel
Methods in org.apache.pdfbox.pdmodel with parameters of type ProtectionPolicyModifier and TypeMethodDescriptionvoidPDDocument.protect(ProtectionPolicy policy) Protects the document with a protection policy. -
Uses of ProtectionPolicy in org.apache.pdfbox.pdmodel.encryption
Classes in org.apache.pdfbox.pdmodel.encryption with type parameters of type ProtectionPolicyModifier and TypeClassDescriptionclassSecurityHandler<T_POLICY extends ProtectionPolicy>A security handler as described in the PDF specifications.Subclasses of ProtectionPolicy in org.apache.pdfbox.pdmodel.encryptionModifier and TypeClassDescriptionfinal classThe protection policy to use to protect a document with the public key security handler.final classThe protection policy to add to a document for password-based protection.Fields in org.apache.pdfbox.pdmodel.encryption declared as ProtectionPolicyModifier and TypeFieldDescriptionprivate T_POLICYSecurityHandler.protectionPolicyThe typedProtectionPolicyto be used for encryption.Fields in org.apache.pdfbox.pdmodel.encryption with type parameters of type ProtectionPolicyModifier and TypeFieldDescriptionprivate final Map<Class<? extends ProtectionPolicy>, Class<? extends SecurityHandler>> SecurityHandlerFactory.policyToHandlerprivate SecurityHandler<ProtectionPolicy> PDEncryption.securityHandlerMethods in org.apache.pdfbox.pdmodel.encryption that return types with arguments of type ProtectionPolicyModifier and TypeMethodDescriptionPDEncryption.getSecurityHandler()Returns the security handler specified in the dictionary's Filter entry.private SecurityHandler<ProtectionPolicy> SecurityHandlerFactory.newSecurityHandler(Class<? extends SecurityHandler> handlerClass, Class<?>[] argsClasses, Object[] args) SecurityHandlerFactory.newSecurityHandlerForFilter(String name) Returns a new security handler for the given Filter name, or null none is available.SecurityHandlerFactory.newSecurityHandlerForPolicy(ProtectionPolicy policy) Returns a new security handler for the given protection policy, or null none is available.Methods in org.apache.pdfbox.pdmodel.encryption with parameters of type ProtectionPolicyModifier and TypeMethodDescriptionSecurityHandlerFactory.newSecurityHandlerForPolicy(ProtectionPolicy policy) Returns a new security handler for the given protection policy, or null none is available.Method parameters in org.apache.pdfbox.pdmodel.encryption with type arguments of type ProtectionPolicyModifier and TypeMethodDescriptionvoidPDEncryption.setSecurityHandler(SecurityHandler<ProtectionPolicy> securityHandler) Sets the security handler used in this encryption dictionary