Class XmlSignature
- java.lang.Object
-
- eu.europa.esig.dss.simplereport.jaxb.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 Indicationindicationprotected List<String>infosprotected StringparentIdprotected SignatureLevelsignatureFormatprotected XmlSignatureLevelsignatureLevelprotected List<XmlSignatureScope>signatureScopeprotected StringsignedByprotected DatesigningTimeprotected 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.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.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.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(Indication value)Sets the value of the indication property.voidsetParentId(String value)Sets the value of the parentId property.voidsetSignatureFormat(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(SubIndication value)Sets the value of the subIndication property.
-
-
-
Field Detail
-
filename
protected String filename
-
signingTime
protected Date signingTime
-
bestSignatureTime
protected Date bestSignatureTime
-
signedBy
protected String signedBy
-
certificateChain
protected XmlCertificateChain certificateChain
-
signatureLevel
protected XmlSignatureLevel signatureLevel
-
indication
protected Indication indication
-
subIndication
protected SubIndication subIndication
-
signatureScope
protected List<XmlSignatureScope> signatureScope
-
id
protected String id
-
counterSignature
protected Boolean counterSignature
-
parentId
protected String parentId
-
signatureFormat
protected SignatureLevel signatureFormat
-
-
Method Detail
-
getFilename
public String getFilename()
Gets the value of the filename property.- Returns:
- possible object is
String
-
setFilename
public void setFilename(String value)
Sets the value of the filename property.- Parameters:
value- allowed object isString
-
getSigningTime
public Date getSigningTime()
Gets the value of the signingTime property.- Returns:
- possible object is
String
-
setSigningTime
public void setSigningTime(Date value)
Sets the value of the signingTime property.- Parameters:
value- allowed object isString
-
getBestSignatureTime
public Date getBestSignatureTime()
Gets the value of the bestSignatureTime property.- Returns:
- possible object is
String
-
setBestSignatureTime
public void setBestSignatureTime(Date value)
Sets the value of the bestSignatureTime property.- Parameters:
value- allowed object isString
-
getSignedBy
public String getSignedBy()
Gets the value of the signedBy property.- Returns:
- possible object is
String
-
setSignedBy
public void setSignedBy(String value)
Sets the value of the signedBy property.- Parameters:
value- allowed object isString
-
getCertificateChain
public XmlCertificateChain getCertificateChain()
Gets the value of the certificateChain property.- Returns:
- possible object is
XmlCertificateChain
-
setCertificateChain
public void setCertificateChain(XmlCertificateChain value)
Sets the value of the certificateChain property.- Parameters:
value- allowed object isXmlCertificateChain
-
getSignatureLevel
public XmlSignatureLevel getSignatureLevel()
Gets the value of the signatureLevel property.- Returns:
- possible object is
XmlSignatureLevel
-
setSignatureLevel
public void setSignatureLevel(XmlSignatureLevel value)
Sets the value of the signatureLevel property.- Parameters:
value- allowed object isXmlSignatureLevel
-
getIndication
public Indication getIndication()
Gets the value of the indication property.- Returns:
- possible object is
String
-
setIndication
public void setIndication(Indication value)
Sets the value of the indication property.- Parameters:
value- allowed object isString
-
getSubIndication
public SubIndication getSubIndication()
Gets the value of the subIndication property.- Returns:
- possible object is
String
-
setSubIndication
public void setSubIndication(SubIndication value)
Sets the value of the subIndication property.- Parameters:
value- allowed object isString
-
getErrors
public List<String> 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
public 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
public 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
public List<XmlSignatureScope> 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
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
isCounterSignature
public Boolean isCounterSignature()
Gets the value of the counterSignature property.- Returns:
- possible object is
Boolean
-
setCounterSignature
public void setCounterSignature(Boolean value)
Sets the value of the counterSignature property.- Parameters:
value- allowed object isBoolean
-
getParentId
public String getParentId()
Gets the value of the parentId property.- Returns:
- possible object is
String
-
setParentId
public void setParentId(String value)
Sets the value of the parentId property.- Parameters:
value- allowed object isString
-
getSignatureFormat
public SignatureLevel getSignatureFormat()
Gets the value of the signatureFormat property.- Returns:
- possible object is
String
-
setSignatureFormat
public void setSignatureFormat(SignatureLevel value)
Sets the value of the signatureFormat property.- Parameters:
value- allowed object isString
-
-