Class XmlSignature
java.lang.Object
eu.europa.esig.dss.simplereport.jaxb.XmlToken
eu.europa.esig.dss.simplereport.jaxb.XmlSignature
- All Implemented Interfaces:
Serializable
public class XmlSignature extends XmlToken implements Serializable
Java class for Signature complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Signature"> <complexContent> <extension base="{http://dss.esig.europa.eu/validation/simple-report}Token"> <sequence> <element name="SigningTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="BestSignatureTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="SignedBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="SignatureLevel" type="{http://dss.esig.europa.eu/validation/simple-report}SignatureLevel" 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="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" /> <attribute name="ExtensionPeriodMin" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="ExtensionPeriodMax" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected Date
bestSignatureTime
protected Boolean
counterSignature
protected Date
extensionPeriodMax
protected Date
extensionPeriodMin
protected String
parentId
protected SignatureLevel
signatureFormat
protected XmlSignatureLevel
signatureLevel
protected List<XmlSignatureScope>
signatureScope
protected String
signedBy
protected Date
signingTime
Fields inherited from class eu.europa.esig.dss.simplereport.jaxb.XmlToken
certificateChain, errors, filename, id, indication, infos, subIndication, warnings
-
Constructor Summary
Constructors Constructor Description XmlSignature()
-
Method Summary
Modifier and Type Method Description Date
getBestSignatureTime()
Gets the value of the bestSignatureTime property.Date
getExtensionPeriodMax()
Gets the value of the extensionPeriodMax property.Date
getExtensionPeriodMin()
Gets the value of the extensionPeriodMin property.String
getParentId()
Gets the value of the parentId property.SignatureLevel
getSignatureFormat()
Gets the value of the signatureFormat property.XmlSignatureLevel
getSignatureLevel()
Gets the value of the signatureLevel property.List<XmlSignatureScope>
getSignatureScope()
Gets the value of the signatureScope property.String
getSignedBy()
Gets the value of the signedBy property.Date
getSigningTime()
Gets the value of the signingTime property.Boolean
isCounterSignature()
Gets the value of the counterSignature property.void
setBestSignatureTime(Date value)
Sets the value of the bestSignatureTime property.void
setCounterSignature(Boolean value)
Sets the value of the counterSignature property.void
setExtensionPeriodMax(Date value)
Sets the value of the extensionPeriodMax property.void
setExtensionPeriodMin(Date value)
Sets the value of the extensionPeriodMin property.void
setParentId(String value)
Sets the value of the parentId property.void
setSignatureFormat(SignatureLevel value)
Sets the value of the signatureFormat property.void
setSignatureLevel(XmlSignatureLevel value)
Sets the value of the signatureLevel property.void
setSignedBy(String value)
Sets the value of the signedBy property.void
setSigningTime(Date value)
Sets the value of the signingTime property.Methods inherited from class eu.europa.esig.dss.simplereport.jaxb.XmlToken
getCertificateChain, getErrors, getFilename, getId, getIndication, getInfos, getSubIndication, getWarnings, setCertificateChain, setFilename, setId, setIndication, setSubIndication
-
Field Details
-
Constructor Details
-
XmlSignature
public XmlSignature()
-
-
Method Details
-
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
-
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
-
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
set
method 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
-
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
Gets the value of the signatureFormat property.- Returns:
- possible object is
String
-
setSignatureFormat
Sets the value of the signatureFormat property.- Parameters:
value
- allowed object isString
-
getExtensionPeriodMin
Gets the value of the extensionPeriodMin property.- Returns:
- possible object is
String
-
setExtensionPeriodMin
Sets the value of the extensionPeriodMin property.- Parameters:
value
- allowed object isString
-
getExtensionPeriodMax
Gets the value of the extensionPeriodMax property.- Returns:
- possible object is
String
-
setExtensionPeriodMax
Sets the value of the extensionPeriodMax property.- Parameters:
value
- allowed object isString
-