Class XmlSignature
- All Implemented Interfaces:
Serializable
public class XmlSignature extends Object implements Serializable
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">
<sequence>
<element name="Filename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SigningTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="BestSignatureTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="SignedBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="CertificateChain" type="{http://dss.esig.europa.eu/validation/simple-report}CertificateChain" minOccurs="0"/>
<element name="SignatureLevel" type="{http://dss.esig.europa.eu/validation/simple-report}SignatureLevel" minOccurs="0"/>
<element name="Indication" type="{http://dss.esig.europa.eu/validation/simple-report}Indication"/>
<element name="SubIndication" type="{http://dss.esig.europa.eu/validation/simple-report}SubIndication" minOccurs="0"/>
<element name="Errors" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="Warnings" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="Infos" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="SignatureScope" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="scope" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
<attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="CounterSignature" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="ParentId" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="SignatureFormat" use="required" type="{http://dss.esig.europa.eu/validation/simple-report}SignatureFormat" />
</restriction>
</complexContent>
</complexType>
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected DatebestSignatureTimeprotected XmlCertificateChaincertificateChainprotected BooleancounterSignatureprotected List<String>errorsprotected Stringfilenameprotected Stringidprotected eu.europa.esig.dss.enumerations.Indicationindicationprotected List<String>infosprotected StringparentIdprotected eu.europa.esig.dss.enumerations.SignatureLevelsignatureFormatprotected XmlSignatureLevelsignatureLevelprotected List<XmlSignatureScope>signatureScopeprotected StringsignedByprotected DatesigningTimeprotected eu.europa.esig.dss.enumerations.SubIndicationsubIndicationprotected List<String>warnings -
Constructor Summary
Constructors Constructor Description XmlSignature() -
Method Summary
Modifier and Type Method Description DategetBestSignatureTime()Gets the value of the bestSignatureTime property.XmlCertificateChaingetCertificateChain()Gets the value of the certificateChain property.List<String>getErrors()Gets the value of the errors property.StringgetFilename()Gets the value of the filename property.StringgetId()Gets the value of the id property.eu.europa.esig.dss.enumerations.IndicationgetIndication()Gets the value of the indication property.List<String>getInfos()Gets the value of the infos property.StringgetParentId()Gets the value of the parentId property.eu.europa.esig.dss.enumerations.SignatureLevelgetSignatureFormat()Gets the value of the signatureFormat property.XmlSignatureLevelgetSignatureLevel()Gets the value of the signatureLevel property.List<XmlSignatureScope>getSignatureScope()Gets the value of the signatureScope property.StringgetSignedBy()Gets the value of the signedBy property.DategetSigningTime()Gets the value of the signingTime property.eu.europa.esig.dss.enumerations.SubIndicationgetSubIndication()Gets the value of the subIndication property.List<String>getWarnings()Gets the value of the warnings property.BooleanisCounterSignature()Gets the value of the counterSignature property.voidsetBestSignatureTime(Date value)Sets the value of the bestSignatureTime property.voidsetCertificateChain(XmlCertificateChain value)Sets the value of the certificateChain property.voidsetCounterSignature(Boolean value)Sets the value of the counterSignature property.voidsetFilename(String value)Sets the value of the filename property.voidsetId(String value)Sets the value of the id property.voidsetIndication(eu.europa.esig.dss.enumerations.Indication value)Sets the value of the indication property.voidsetParentId(String value)Sets the value of the parentId property.voidsetSignatureFormat(eu.europa.esig.dss.enumerations.SignatureLevel value)Sets the value of the signatureFormat property.voidsetSignatureLevel(XmlSignatureLevel value)Sets the value of the signatureLevel property.voidsetSignedBy(String value)Sets the value of the signedBy property.voidsetSigningTime(Date value)Sets the value of the signingTime property.voidsetSubIndication(eu.europa.esig.dss.enumerations.SubIndication value)Sets the value of the subIndication property.
-
Field Details
-
filename
-
signingTime
-
bestSignatureTime
-
signedBy
-
certificateChain
-
signatureLevel
-
indication
protected eu.europa.esig.dss.enumerations.Indication indication -
subIndication
protected eu.europa.esig.dss.enumerations.SubIndication subIndication -
errors
-
warnings
-
infos
-
signatureScope
-
id
-
counterSignature
-
parentId
-
signatureFormat
protected eu.europa.esig.dss.enumerations.SignatureLevel signatureFormat
-
-
Constructor Details
-
XmlSignature
public XmlSignature()
-
-
Method Details
-
getFilename
Gets the value of the filename property.- Returns:
- possible object is
String
-
setFilename
Sets the value of the filename property.- Parameters:
value- allowed object isString
-
getSigningTime
Gets the value of the signingTime property.- Returns:
- possible object is
String
-
setSigningTime
Sets the value of the signingTime property.- Parameters:
value- allowed object isString
-
getBestSignatureTime
Gets the value of the bestSignatureTime property.- Returns:
- possible object is
String
-
setBestSignatureTime
Sets the value of the bestSignatureTime property.- Parameters:
value- allowed object isString
-
getSignedBy
Gets the value of the signedBy property.- Returns:
- possible object is
String
-
setSignedBy
Sets the value of the signedBy property.- Parameters:
value- allowed object isString
-
getCertificateChain
Gets the value of the certificateChain property.- Returns:
- possible object is
XmlCertificateChain
-
setCertificateChain
Sets the value of the certificateChain property.- Parameters:
value- allowed object isXmlCertificateChain
-
getSignatureLevel
Gets the value of the signatureLevel property.- Returns:
- possible object is
XmlSignatureLevel
-
setSignatureLevel
Sets the value of the signatureLevel property.- Parameters:
value- allowed object isXmlSignatureLevel
-
getIndication
public eu.europa.esig.dss.enumerations.Indication getIndication()Gets the value of the indication property.- Returns:
- possible object is
String
-
setIndication
public void setIndication(eu.europa.esig.dss.enumerations.Indication value)Sets the value of the indication property.- Parameters:
value- allowed object isString
-
getSubIndication
public eu.europa.esig.dss.enumerations.SubIndication getSubIndication()Gets the value of the subIndication property.- Returns:
- possible object is
String
-
setSubIndication
public void setSubIndication(eu.europa.esig.dss.enumerations.SubIndication value)Sets the value of the subIndication property.- Parameters:
value- allowed object isString
-
getErrors
Gets the value of the errors property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the errors property.For example, to add a new item, do as follows:
getErrors().add(newItem);Objects of the following type(s) are allowed in the list
String -
getWarnings
Gets the value of the warnings property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the warnings property.For example, to add a new item, do as follows:
getWarnings().add(newItem);Objects of the following type(s) are allowed in the list
String -
getInfos
Gets the value of the infos property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the infos property.For example, to add a new item, do as follows:
getInfos().add(newItem);Objects of the following type(s) are allowed in the list
String -
getSignatureScope
Gets the value of the signatureScope property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the signatureScope property.For example, to add a new item, do as follows:
getSignatureScope().add(newItem);Objects of the following type(s) are allowed in the list
XmlSignatureScope -
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
isCounterSignature
Gets the value of the counterSignature property.- Returns:
- possible object is
Boolean
-
setCounterSignature
Sets the value of the counterSignature property.- Parameters:
value- allowed object isBoolean
-
getParentId
Gets the value of the parentId property.- Returns:
- possible object is
String
-
setParentId
Sets the value of the parentId property.- Parameters:
value- allowed object isString
-
getSignatureFormat
public eu.europa.esig.dss.enumerations.SignatureLevel getSignatureFormat()Gets the value of the signatureFormat property.- Returns:
- possible object is
String
-
setSignatureFormat
public void setSignatureFormat(eu.europa.esig.dss.enumerations.SignatureLevel value)Sets the value of the signatureFormat property.- Parameters:
value- allowed object isString
-