Class XmlSignature
java.lang.Object
eu.europa.esig.dss.simplereport.jaxb.XmlToken
eu.europa.esig.dss.simplereport.jaxb.XmlSignature
- All Implemented Interfaces:
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" type="{http://dss.esig.europa.eu/validation/simple-report}SignatureScope" maxOccurs="unbounded" minOccurs="0"/>
<element name="Timestamps" type="{http://dss.esig.europa.eu/validation/simple-report}Timestamps" minOccurs="0"/>
<element name="EvidenceRecords" type="{http://dss.esig.europa.eu/validation/simple-report}EvidenceRecords" minOccurs="0"/>
</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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Dateprotected Booleanprotected XmlEvidenceRecordsprotected Dateprotected Dateprotected Stringprotected SignatureLevelprotected XmlSignatureLevelprotected List<XmlSignatureScope> protected Stringprotected Dateprotected XmlTimestampsFields inherited from class eu.europa.esig.dss.simplereport.jaxb.XmlToken
adESValidationDetails, certificateChain, filename, id, indication, qualificationDetails, subIndication -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the bestSignatureTime property.Gets the value of the evidenceRecords property.Gets the value of the extensionPeriodMax property.Gets the value of the extensionPeriodMin property.Gets the value of the parentId property.Gets the value of the signatureFormat property.Gets the value of the signatureLevel property.Gets the value of the signatureScope property.Gets the value of the signedBy property.Gets the value of the signingTime property.Gets the value of the timestamps property.Gets the value of the counterSignature property.voidsetBestSignatureTime(Date value) Sets the value of the bestSignatureTime property.voidsetCounterSignature(Boolean value) Sets the value of the counterSignature property.voidSets the value of the evidenceRecords property.voidsetExtensionPeriodMax(Date value) Sets the value of the extensionPeriodMax property.voidsetExtensionPeriodMin(Date value) Sets the value of the extensionPeriodMin property.voidsetParentId(String value) Sets the value of the parentId property.voidsetSignatureFormat(SignatureLevel value) Sets the value of the signatureFormat property.voidSets 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.voidsetTimestamps(XmlTimestamps value) Sets the value of the timestamps property.Methods inherited from class eu.europa.esig.dss.simplereport.jaxb.XmlToken
getAdESValidationDetails, getCertificateChain, getFilename, getId, getIndication, getQualificationDetails, getSubIndication, setAdESValidationDetails, setCertificateChain, setFilename, setId, setIndication, setQualificationDetails, setSubIndication
-
Field Details
-
signingTime
-
bestSignatureTime
-
signedBy
-
signatureLevel
-
signatureScope
-
timestamps
-
evidenceRecords
-
counterSignature
-
parentId
-
signatureFormat
-
extensionPeriodMin
-
extensionPeriodMax
-
-
Constructor Details
-
XmlSignature
public XmlSignature()
-
-
Method Details
-
getSigningTime
-
setSigningTime
-
getBestSignatureTime
-
setBestSignatureTime
-
getSignedBy
-
setSignedBy
-
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 Jakarta XML Binding 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 -
getTimestamps
Gets the value of the timestamps property.- Returns:
- possible object is
XmlTimestamps
-
setTimestamps
Sets the value of the timestamps property.- Parameters:
value- allowed object isXmlTimestamps
-
getEvidenceRecords
Gets the value of the evidenceRecords property.- Returns:
- possible object is
XmlEvidenceRecords
-
setEvidenceRecords
Sets the value of the evidenceRecords property.- Parameters:
value- allowed object isXmlEvidenceRecords
-
isCounterSignature
-
setCounterSignature
-
getParentId
-
setParentId
-
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
-
setExtensionPeriodMin
-
getExtensionPeriodMax
-
setExtensionPeriodMax
-