Class PasswordType
- java.lang.Object
-
- net.webpdf.wsclient.schema.extraction.info.PasswordType
-
public class PasswordType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">An element of this type shall contain information concerning the used encryption and the used encryption key.</p>
Java class for PasswordType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="PasswordType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="hasOpenPassword" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="hasPermissionPassword" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="hasAsymmetricEncryption" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="keyLength" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="keyAlgorithm" type="{http://schema.webpdf.de/1.0/extraction/info}KeyAlgorithmType" default="none" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanhasAsymmetricEncryption<?protected BooleanhasOpenPassword<?protected BooleanhasPermissionPassword<?protected KeyAlgorithmTypekeyAlgorithm<?protected IntegerkeyLength<?
-
Constructor Summary
Constructors Constructor Description PasswordType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyAlgorithmTypegetKeyAlgorithm()<?intgetKeyLength()<?booleanisHasAsymmetricEncryption()<?booleanisHasOpenPassword()<?booleanisHasPermissionPassword()<?booleanisSetHasAsymmetricEncryption()booleanisSetHasOpenPassword()booleanisSetHasPermissionPassword()booleanisSetKeyAlgorithm()booleanisSetKeyLength()voidsetHasAsymmetricEncryption(boolean value)Sets the value of the hasAsymmetricEncryption property.voidsetHasOpenPassword(boolean value)Sets the value of the hasOpenPassword property.voidsetHasPermissionPassword(boolean value)Sets the value of the hasPermissionPassword property.voidsetKeyAlgorithm(KeyAlgorithmType value)Sets the value of the keyAlgorithm property.voidsetKeyLength(int value)Sets the value of the keyLength property.voidunsetHasAsymmetricEncryption()voidunsetHasOpenPassword()voidunsetHasPermissionPassword()voidunsetKeyLength()
-
-
-
Field Detail
-
hasOpenPassword
protected Boolean hasOpenPassword
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this is set to "true", the document is encrypted and requires a password to be opened.</p>
-
hasPermissionPassword
protected Boolean hasPermissionPassword
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this is set to "true", the document has a change protection and a password is required to claim ownership and modify the document.</p>
-
hasAsymmetricEncryption
protected Boolean hasAsymmetricEncryption
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this is set to "true", the document is asymmetrically encrypted and a matching private key is required to decrypt it. Otherwise the document is symetrically encrypted and requires a password. </p>
-
keyLength
protected Integer keyLength
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The Bit length of the key used for encryption.</p>
-
keyAlgorithm
protected KeyAlgorithmType keyAlgorithm
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The algorithm used for encryption. <ul><li>none = The document is not encrypted.</li><li>aes = The document has been encrypted using the Advanced Encryption Standard.</li><li>rc4 = The document has been encrypted using the RC4 cipher.</li></ul></p>
-
-
Method Detail
-
isHasOpenPassword
public boolean isHasOpenPassword()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this is set to "true", the document is encrypted and requires a password to be opened.</p>
- Returns:
- possible object is
Boolean
-
setHasOpenPassword
public void setHasOpenPassword(boolean value)
Sets the value of the hasOpenPassword property.- Parameters:
value- allowed object isBoolean- See Also:
isHasOpenPassword()
-
isSetHasOpenPassword
public boolean isSetHasOpenPassword()
-
unsetHasOpenPassword
public void unsetHasOpenPassword()
-
isHasPermissionPassword
public boolean isHasPermissionPassword()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this is set to "true", the document has a change protection and a password is required to claim ownership and modify the document.</p>
- Returns:
- possible object is
Boolean
-
setHasPermissionPassword
public void setHasPermissionPassword(boolean value)
Sets the value of the hasPermissionPassword property.- Parameters:
value- allowed object isBoolean- See Also:
isHasPermissionPassword()
-
isSetHasPermissionPassword
public boolean isSetHasPermissionPassword()
-
unsetHasPermissionPassword
public void unsetHasPermissionPassword()
-
isHasAsymmetricEncryption
public boolean isHasAsymmetricEncryption()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">If this is set to "true", the document is asymmetrically encrypted and a matching private key is required to decrypt it. Otherwise the document is symetrically encrypted and requires a password. </p>- Returns:
- possible object is
Boolean
-
setHasAsymmetricEncryption
public void setHasAsymmetricEncryption(boolean value)
Sets the value of the hasAsymmetricEncryption property.- Parameters:
value- allowed object isBoolean- See Also:
isHasAsymmetricEncryption()
-
isSetHasAsymmetricEncryption
public boolean isSetHasAsymmetricEncryption()
-
unsetHasAsymmetricEncryption
public void unsetHasAsymmetricEncryption()
-
getKeyLength
public int getKeyLength()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The Bit length of the key used for encryption.</p>
- Returns:
- possible object is
Integer
-
setKeyLength
public void setKeyLength(int value)
Sets the value of the keyLength property.- Parameters:
value- allowed object isInteger- See Also:
getKeyLength()
-
isSetKeyLength
public boolean isSetKeyLength()
-
unsetKeyLength
public void unsetKeyLength()
-
getKeyAlgorithm
public KeyAlgorithmType getKeyAlgorithm()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The algorithm used for encryption. <ul><li>none = The document is not encrypted.</li><li>aes = The document has been encrypted using the Advanced Encryption Standard.</li><li>rc4 = The document has been encrypted using the RC4 cipher.</li></ul></p>- Returns:
- possible object is
KeyAlgorithmType
-
setKeyAlgorithm
public void setKeyAlgorithm(KeyAlgorithmType value)
Sets the value of the keyAlgorithm property.- Parameters:
value- allowed object isKeyAlgorithmType- See Also:
getKeyAlgorithm()
-
isSetKeyAlgorithm
public boolean isSetKeyAlgorithm()
-
-