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
    • Constructor Detail

      • XmlSignature

        public XmlSignature()
    • 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 is String
      • 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 is String
      • 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 is String
      • 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 is String
      • setCertificateChain

        public void setCertificateChain​(XmlCertificateChain value)
        Sets the value of the certificateChain property.
        Parameters:
        value - allowed object is XmlCertificateChain
      • setSignatureLevel

        public void setSignatureLevel​(XmlSignatureLevel value)
        Sets the value of the signatureLevel property.
        Parameters:
        value - allowed object is XmlSignatureLevel
      • 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 is String
      • 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 is String
      • 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 set method 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 set method 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 set method 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 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

      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • 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 is Boolean
      • 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 is String
      • 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 is String