Uses of Class
org.apache.pdfbox.pdmodel.encryption.ProtectionPolicy
-
Packages that use ProtectionPolicy Package Description org.apache.pdfbox.pdfparser The pdfparser package contains classes to parse PDF documents and objects within the document.org.apache.pdfbox.pdmodel The PDModel package represents a high level API for creating and manipulating PDF documents.org.apache.pdfbox.pdmodel.encryption 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 ProtectionPolicy Modifier and Type Field Description protected SecurityHandler<? extends ProtectionPolicy>COSParser. securityHandlerThe security handler.Method parameters in org.apache.pdfbox.pdfparser with type arguments of type ProtectionPolicy Modifier and Type Method Description protected 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 ProtectionPolicy Modifier and Type Method Description voidPDDocument. 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 ProtectionPolicy Modifier and Type Class Description classSecurityHandler<T_POLICY extends ProtectionPolicy>A security handler as described in the PDF specifications.Subclasses of ProtectionPolicy in org.apache.pdfbox.pdmodel.encryption Modifier and Type Class Description classPublicKeyProtectionPolicyThe protection policy to use to protect a document with the public key security handler.classStandardProtectionPolicyThe protection policy to add to a document for password-based protection.Fields in org.apache.pdfbox.pdmodel.encryption declared as ProtectionPolicy Modifier and Type Field Description private T_POLICYSecurityHandler. protectionPolicyThe typedProtectionPolicyto be used for encryption.Fields in org.apache.pdfbox.pdmodel.encryption with type parameters of type ProtectionPolicy Modifier and Type Field Description private java.util.Map<java.lang.Class<? extends ProtectionPolicy>,java.lang.Class<? extends SecurityHandler>>SecurityHandlerFactory. policyToHandlerprivate SecurityHandler<ProtectionPolicy>PDEncryption. securityHandlerMethods in org.apache.pdfbox.pdmodel.encryption that return types with arguments of type ProtectionPolicy Modifier and Type Method Description SecurityHandler<ProtectionPolicy>PDEncryption. getSecurityHandler()Returns the security handler specified in the dictionary's Filter entry.private SecurityHandler<ProtectionPolicy>SecurityHandlerFactory. newSecurityHandler(java.lang.Class<? extends SecurityHandler> handlerClass, java.lang.Class<?>[] argsClasses, java.lang.Object[] args)SecurityHandler<ProtectionPolicy>SecurityHandlerFactory. newSecurityHandlerForFilter(java.lang.String name)Returns a new security handler for the given Filter name, or null none is available.SecurityHandler<ProtectionPolicy>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 ProtectionPolicy Modifier and Type Method Description SecurityHandler<ProtectionPolicy>SecurityHandlerFactory. 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 ProtectionPolicy Modifier and Type Method Description voidPDEncryption. setSecurityHandler(SecurityHandler<ProtectionPolicy> securityHandler)Sets the security handler used in this encryption dictionary
-