Uses of Class
org.apache.pdfbox.pdmodel.encryption.ProtectionPolicy
-
Packages that use ProtectionPolicy Package Description 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.pdmodel
Methods in org.apache.pdfbox.pdmodel with parameters of type ProtectionPolicy Modifier and Type Method Description void
PDDocument. protect(ProtectionPolicy policy)
Protects the document with a protection policy. -
Uses of ProtectionPolicy in org.apache.pdfbox.pdmodel.encryption
Subclasses of ProtectionPolicy in org.apache.pdfbox.pdmodel.encryption Modifier and Type Class Description class
PublicKeyProtectionPolicy
The protection policy to use to protect a document with the public key security handler.class
StandardProtectionPolicy
The 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 ProtectionPolicy
SecurityHandler. protectionPolicy
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. policyToHandler
Methods in org.apache.pdfbox.pdmodel.encryption that return ProtectionPolicy Modifier and Type Method Description protected ProtectionPolicy
SecurityHandler. getProtectionPolicy()
Returns the setProtectionPolicy
or null.Methods in org.apache.pdfbox.pdmodel.encryption with parameters of type ProtectionPolicy Modifier and Type Method Description SecurityHandler
SecurityHandlerFactory. newSecurityHandlerForPolicy(ProtectionPolicy policy)
Returns a new security handler for the given protection policy, or null none is available.protected void
SecurityHandler. setProtectionPolicy(ProtectionPolicy protectionPolicy)
Sets theProtectionPolicy
to the given value.
-