Class EncryptType.Password
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.EncryptType.Password
-
- Enclosing class:
- EncryptType
public static class EncryptType.Password extends Object
Java class for anonymous complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="encryptionKey" type="{http://schema.webpdf.de/1.0/operation}PdfEncryptionKeyType" default="RC4_128" /> <attribute name="permission" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="open" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected PdfEncryptionKeyTypeencryptionKey<?protected Stringopen<?protected Stringpermission<?
-
Constructor Summary
Constructors Constructor Description Password()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfEncryptionKeyTypegetEncryptionKey()<?StringgetOpen()<?StringgetPermission()<?booleanisSetEncryptionKey()booleanisSetOpen()booleanisSetPermission()voidsetEncryptionKey(PdfEncryptionKeyType value)Sets the value of the encryptionKey property.voidsetOpen(String value)Sets the value of the open property.voidsetPermission(String value)Sets the value of the permission property.
-
-
-
Field Detail
-
encryptionKey
protected PdfEncryptionKeyType encryptionKey
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p54688_="https://jakarta.ee/xml/ns/jaxb" xmlns:p573971_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Sets the encryption level for the document. <ul><li>RC4_40 = 40-bit RC4</li><li>RC4_128 = 128-bit RC4</li><li>AES_128 = 128-bit AES</li><li>AES_256 = 256-bit AES</li></ul></p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p54688_="https://jakarta.ee/xml/ns/jaxb" xmlns:p573971_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> Please note that the option "256-bit AES" only works if the "Java Cryptography Extension (JCE)" has been enabled with "Unlimited Strength" in the JVM. You can obtain the modified "Policy Files" (along with instructions for installation) from the Oracle website: Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 Download: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html </p>
-
permission
protected String permission
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p54688_="https://jakarta.ee/xml/ns/jaxb" xmlns:p573971_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the password that will be requested if the file is opened for editing (e.g., when removing pages). The password is required to enable the individual access permissions and must not be blank if the access permissions are to be used. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p54688_="https://jakarta.ee/xml/ns/jaxb" xmlns:p573971_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> Please note that the password and the associated access permissions will only provide protection if an appropriate display program for PDF documents takes these settings into account. </p>
-
open
protected String open
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p54688_="https://jakarta.ee/xml/ns/jaxb" xmlns:p573971_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the password that will be requested if the PDF document is opened for reading.</p>
-
-
Method Detail
-
getEncryptionKey
public PdfEncryptionKeyType getEncryptionKey()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p54688_="https://jakarta.ee/xml/ns/jaxb" xmlns:p573971_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Sets the encryption level for the document. <ul><li>RC4_40 = 40-bit RC4</li><li>RC4_128 = 128-bit RC4</li><li>AES_128 = 128-bit AES</li><li>AES_256 = 256-bit AES</li></ul></p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p54688_="https://jakarta.ee/xml/ns/jaxb" xmlns:p573971_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> Please note that the option "256-bit AES" only works if the "Java Cryptography Extension (JCE)" has been enabled with "Unlimited Strength" in the JVM. You can obtain the modified "Policy Files" (along with instructions for installation) from the Oracle website: Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 Download: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html </p>- Returns:
- possible object is
PdfEncryptionKeyType
-
setEncryptionKey
public void setEncryptionKey(PdfEncryptionKeyType value)
Sets the value of the encryptionKey property.- Parameters:
value- allowed object isPdfEncryptionKeyType- See Also:
getEncryptionKey()
-
isSetEncryptionKey
public boolean isSetEncryptionKey()
-
getPermission
public String getPermission()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p54688_="https://jakarta.ee/xml/ns/jaxb" xmlns:p573971_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the password that will be requested if the file is opened for editing (e.g., when removing pages). The password is required to enable the individual access permissions and must not be blank if the access permissions are to be used. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p54688_="https://jakarta.ee/xml/ns/jaxb" xmlns:p573971_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> Please note that the password and the associated access permissions will only provide protection if an appropriate display program for PDF documents takes these settings into account. </p>- Returns:
- possible object is
String
-
setPermission
public void setPermission(String value)
Sets the value of the permission property.- Parameters:
value- allowed object isString- See Also:
getPermission()
-
isSetPermission
public boolean isSetPermission()
-
getOpen
public String getOpen()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p54688_="https://jakarta.ee/xml/ns/jaxb" xmlns:p573971_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the password that will be requested if the PDF document is opened for reading.</p>
- Returns:
- possible object is
String
-
setOpen
public void setOpen(String value)
Sets the value of the open property.
-
isSetOpen
public boolean isSetOpen()
-
-