Class SignatureType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.SignatureType
-
- All Implemented Interfaces:
ParameterInterface
public class SignatureType extends Object implements ParameterInterface
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p31332_="https://jakarta.ee/xml/ns/jaxb" xmlns:p993856_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The "Signature" web service can be used to digitally sign documents or to remove all signatures from a PDF documents.</p>
Java class for SignatureType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="SignatureType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="add"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="appearance" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="position" type="{http://schema.webpdf.de/1.0/operation}SignaturePositionType" minOccurs="0"/> <element name="image" type="{http://schema.webpdf.de/1.0/operation}SignatureImageType" minOccurs="0"/> <element name="identifierElements" type="{http://schema.webpdf.de/1.0/operation}SignatureIdentifierType" minOccurs="0"/> </all> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="identifier" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="page" default="1"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="1"/> </restriction> </simpleType> </attribute> <attribute name="showCommonName" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </restriction> </complexContent> </complexType> </element> <element name="signer" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="keyPair" type="{http://schema.webpdf.de/1.0/operation}KeyPairType"/> </all> </restriction> </complexContent> </complexType> </element> </all> <attGroup ref="{http://schema.webpdf.de/1.0/operation}SignatureInfoGroup"/> <attribute name="certificationLevel" type="{http://schema.webpdf.de/1.0/operation}CertificationLevelType" default="noChanges" /> <attribute name="fieldName" type="{http://www.w3.org/2001/XMLSchema}string" default="Signature1" /> <attribute name="keyName" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="keyPassword" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="appendSignature" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType> </element> <element name="clear"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="flatten" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType> </element> </choice> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSignatureType.AddJava class for anonymous complex typestatic classSignatureType.ClearJava class for anonymous complex type
-
Field Summary
Fields Modifier and Type Field Description protected SignatureType.Addadd<?protected SignatureType.Clearclear<?
-
Constructor Summary
Constructors Constructor Description SignatureType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureType.AddgetAdd()<?SignatureType.CleargetClear()<?booleanisSetAdd()booleanisSetClear()voidsetAdd(SignatureType.Add value)Sets the value of the add property.voidsetClear(SignatureType.Clear value)Sets the value of the clear property.
-
-
-
Field Detail
-
add
protected SignatureType.Add add
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p31332_="https://jakarta.ee/xml/ns/jaxb" xmlns:p993856_="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 add a new signature to the PDF document.</p>
-
clear
protected SignatureType.Clear clear
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p31332_="https://jakarta.ee/xml/ns/jaxb" xmlns:p993856_="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 remove all existing signatures from the PDF document. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p31332_="https://jakarta.ee/xml/ns/jaxb" xmlns:p993856_="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> Be aware, that this will also remove probably set passwords and encryption from the document. </p>
-
-
Method Detail
-
getAdd
public SignatureType.Add getAdd()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p31332_="https://jakarta.ee/xml/ns/jaxb" xmlns:p993856_="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 add a new signature to the PDF document.</p>
- Returns:
- possible object is
SignatureType.Add
-
setAdd
public void setAdd(SignatureType.Add value)
Sets the value of the add property.- Parameters:
value- allowed object isSignatureType.Add- See Also:
getAdd()
-
isSetAdd
public boolean isSetAdd()
-
getClear
public SignatureType.Clear getClear()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p31332_="https://jakarta.ee/xml/ns/jaxb" xmlns:p993856_="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 remove all existing signatures from the PDF document. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p31332_="https://jakarta.ee/xml/ns/jaxb" xmlns:p993856_="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> Be aware, that this will also remove probably set passwords and encryption from the document. </p>- Returns:
- possible object is
SignatureType.Clear
-
setClear
public void setClear(SignatureType.Clear value)
Sets the value of the clear property.- Parameters:
value- allowed object isSignatureType.Clear- See Also:
getClear()
-
isSetClear
public boolean isSetClear()
-
-