public class XmlSignature extends Object
Java class for Signature complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Signature">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="SignatureFilename" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ParentId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="DateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="SignatureFormat" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="StructuralValidation" type="{http://dss.esig.europa.eu/validation/diagnostic}StructuralValidation" minOccurs="0"/>
<element name="BasicSignature" type="{http://dss.esig.europa.eu/validation/diagnostic}BasicSignature"/>
<element name="SigningCertificate" type="{http://dss.esig.europa.eu/validation/diagnostic}SigningCertificate" minOccurs="0"/>
<element name="CertificateChain" type="{http://dss.esig.europa.eu/validation/diagnostic}CertificateChain" minOccurs="0"/>
<element name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ContentIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ContentHints" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SignatureProductionPlace" type="{http://dss.esig.europa.eu/validation/diagnostic}SignatureProductionPlace" minOccurs="0"/>
<element name="CommitmentTypeIndication" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Indication" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ClaimedRoles" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ClaimedRoles" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="CertifiedRoles" type="{http://dss.esig.europa.eu/validation/diagnostic}CertifiedRole" maxOccurs="unbounded" minOccurs="0"/>
<element name="Policy" type="{http://dss.esig.europa.eu/validation/diagnostic}Policy" minOccurs="0"/>
<element name="Timestamps" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Timestamp" type="{http://dss.esig.europa.eu/validation/diagnostic}Timestamp" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="SignatureScopes" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="SignatureScope" type="{http://dss.esig.europa.eu/validation/diagnostic}SignatureScope" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</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" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected XmlBasicSignature |
basicSignature |
protected List<XmlChainItem> |
certificateChain |
protected List<XmlCertifiedRole> |
certifiedRoles |
protected List<String> |
claimedRoles |
protected List<String> |
commitmentTypeIndication |
protected String |
contentHints |
protected String |
contentIdentifier |
protected String |
contentType |
protected Boolean |
counterSignature |
protected Date |
dateTime |
protected String |
errorMessage |
protected String |
id |
protected String |
parentId |
protected XmlPolicy |
policy |
protected String |
signatureFilename |
protected String |
signatureFormat |
protected XmlSignatureProductionPlace |
signatureProductionPlace |
protected List<XmlSignatureScope> |
signatureScopes |
protected XmlSigningCertificate |
signingCertificate |
protected XmlStructuralValidation |
structuralValidation |
protected List<XmlTimestamp> |
timestamps |
| Constructor and Description |
|---|
XmlSignature() |
| Modifier and Type | Method and Description |
|---|---|
XmlBasicSignature |
getBasicSignature()
Gets the value of the basicSignature property.
|
List<XmlChainItem> |
getCertificateChain() |
List<XmlCertifiedRole> |
getCertifiedRoles()
Gets the value of the certifiedRoles property.
|
List<String> |
getClaimedRoles() |
List<String> |
getCommitmentTypeIndication() |
String |
getContentHints()
Gets the value of the contentHints property.
|
String |
getContentIdentifier()
Gets the value of the contentIdentifier property.
|
String |
getContentType()
Gets the value of the contentType property.
|
Date |
getDateTime()
Gets the value of the dateTime property.
|
String |
getErrorMessage()
Gets the value of the errorMessage property.
|
String |
getId()
Gets the value of the id property.
|
String |
getParentId()
Gets the value of the parentId property.
|
XmlPolicy |
getPolicy()
Gets the value of the policy property.
|
String |
getSignatureFilename()
Gets the value of the signatureFilename property.
|
String |
getSignatureFormat()
Gets the value of the signatureFormat property.
|
XmlSignatureProductionPlace |
getSignatureProductionPlace()
Gets the value of the signatureProductionPlace property.
|
List<XmlSignatureScope> |
getSignatureScopes() |
XmlSigningCertificate |
getSigningCertificate()
Gets the value of the signingCertificate property.
|
XmlStructuralValidation |
getStructuralValidation()
Gets the value of the structuralValidation property.
|
List<XmlTimestamp> |
getTimestamps() |
Boolean |
isCounterSignature()
Gets the value of the counterSignature property.
|
void |
setBasicSignature(XmlBasicSignature value)
Sets the value of the basicSignature property.
|
void |
setCertificateChain(List<XmlChainItem> certificateChain) |
void |
setClaimedRoles(List<String> claimedRoles) |
void |
setCommitmentTypeIndication(List<String> commitmentTypeIndication) |
void |
setContentHints(String value)
Sets the value of the contentHints property.
|
void |
setContentIdentifier(String value)
Sets the value of the contentIdentifier property.
|
void |
setContentType(String value)
Sets the value of the contentType property.
|
void |
setCounterSignature(Boolean value)
Sets the value of the counterSignature property.
|
void |
setDateTime(Date value)
Sets the value of the dateTime property.
|
void |
setErrorMessage(String value)
Sets the value of the errorMessage property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setParentId(String value)
Sets the value of the parentId property.
|
void |
setPolicy(XmlPolicy value)
Sets the value of the policy property.
|
void |
setSignatureFilename(String value)
Sets the value of the signatureFilename property.
|
void |
setSignatureFormat(String value)
Sets the value of the signatureFormat property.
|
void |
setSignatureProductionPlace(XmlSignatureProductionPlace value)
Sets the value of the signatureProductionPlace property.
|
void |
setSignatureScopes(List<XmlSignatureScope> signatureScopes) |
void |
setSigningCertificate(XmlSigningCertificate value)
Sets the value of the signingCertificate property.
|
void |
setStructuralValidation(XmlStructuralValidation value)
Sets the value of the structuralValidation property.
|
void |
setTimestamps(List<XmlTimestamp> timestamps) |
protected String signatureFilename
protected String parentId
protected String errorMessage
protected Date dateTime
protected String signatureFormat
protected XmlStructuralValidation structuralValidation
protected XmlBasicSignature basicSignature
protected XmlSigningCertificate signingCertificate
protected List<XmlChainItem> certificateChain
protected String contentType
protected String contentIdentifier
protected String contentHints
protected XmlSignatureProductionPlace signatureProductionPlace
protected List<XmlCertifiedRole> certifiedRoles
protected XmlPolicy policy
protected List<XmlTimestamp> timestamps
protected List<XmlSignatureScope> signatureScopes
protected String id
protected Boolean counterSignature
public String getSignatureFilename()
Stringpublic void setSignatureFilename(String value)
value - allowed object is
Stringpublic String getParentId()
Stringpublic void setParentId(String value)
value - allowed object is
Stringpublic String getErrorMessage()
Stringpublic void setErrorMessage(String value)
value - allowed object is
Stringpublic Date getDateTime()
Stringpublic void setDateTime(Date value)
value - allowed object is
Stringpublic String getSignatureFormat()
Stringpublic void setSignatureFormat(String value)
value - allowed object is
Stringpublic XmlStructuralValidation getStructuralValidation()
XmlStructuralValidationpublic void setStructuralValidation(XmlStructuralValidation value)
value - allowed object is
XmlStructuralValidationpublic XmlBasicSignature getBasicSignature()
XmlBasicSignaturepublic void setBasicSignature(XmlBasicSignature value)
value - allowed object is
XmlBasicSignaturepublic XmlSigningCertificate getSigningCertificate()
XmlSigningCertificatepublic void setSigningCertificate(XmlSigningCertificate value)
value - allowed object is
XmlSigningCertificatepublic String getContentType()
Stringpublic void setContentType(String value)
value - allowed object is
Stringpublic String getContentIdentifier()
Stringpublic void setContentIdentifier(String value)
value - allowed object is
Stringpublic String getContentHints()
Stringpublic void setContentHints(String value)
value - allowed object is
Stringpublic XmlSignatureProductionPlace getSignatureProductionPlace()
XmlSignatureProductionPlacepublic void setSignatureProductionPlace(XmlSignatureProductionPlace value)
value - allowed object is
XmlSignatureProductionPlacepublic List<XmlCertifiedRole> getCertifiedRoles()
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 certifiedRoles property.
For example, to add a new item, do as follows:
getCertifiedRoles().add(newItem);
Objects of the following type(s) are allowed in the list
XmlCertifiedRole
public XmlPolicy getPolicy()
XmlPolicypublic void setPolicy(XmlPolicy value)
value - allowed object is
XmlPolicypublic void setId(String value)
value - allowed object is
Stringpublic Boolean isCounterSignature()
Booleanpublic void setCounterSignature(Boolean value)
value - allowed object is
Booleanpublic List<XmlChainItem> getCertificateChain()
public void setCertificateChain(List<XmlChainItem> certificateChain)
public void setCommitmentTypeIndication(List<String> commitmentTypeIndication)
public List<XmlTimestamp> getTimestamps()
public void setTimestamps(List<XmlTimestamp> timestamps)
public List<XmlSignatureScope> getSignatureScopes()
public void setSignatureScopes(List<XmlSignatureScope> signatureScopes)
Copyright © 2018. All rights reserved.