Class XmlSignature
java.lang.Object
eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
eu.europa.esig.dss.diagnostic.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/diagnostic}AbstractToken"> <sequence> <element name="DAIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="SignatureFilename" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="ClaimedSigningTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="SignatureFormat" type="{http://dss.esig.europa.eu/validation/diagnostic}SignatureFormat"/> <element name="StructuralValidation" type="{http://dss.esig.europa.eu/validation/diagnostic}StructuralValidation" minOccurs="0"/> <element name="DigestMatchers" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="DigestMatcher" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestMatcher" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <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="MimeType" 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="CommitmentTypeIndications" type="{http://dss.esig.europa.eu/validation/diagnostic}CommitmentTypeIndications" minOccurs="0"/> <element name="SignerRole" type="{http://dss.esig.europa.eu/validation/diagnostic}SignerRole" maxOccurs="unbounded" minOccurs="0"/> <element name="Policy" type="{http://dss.esig.europa.eu/validation/diagnostic}Policy" minOccurs="0"/> <element name="SignaturePolicyStore" type="{http://dss.esig.europa.eu/validation/diagnostic}SignaturePolicyStore" minOccurs="0"/> <element name="SignerInformationStore" type="{http://dss.esig.europa.eu/validation/diagnostic}SignerInformationStore" minOccurs="0"/> <element name="PDFRevision" type="{http://dss.esig.europa.eu/validation/diagnostic}PDFRevision" minOccurs="0"/> <element name="VRIDictionaryCreationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="SignerDocumentRepresentations" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="HashOnly" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="DocHashOnly" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType> </element> <element name="FoundCertificates" type="{http://dss.esig.europa.eu/validation/diagnostic}FoundCertificates"/> <element name="FoundRevocations" type="{http://dss.esig.europa.eu/validation/diagnostic}FoundRevocations"/> <element name="FoundTimestamps"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="FoundTimestamp" type="{http://dss.esig.europa.eu/validation/diagnostic}FoundTimestamp" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="SignatureScopes"> <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> <element name="SignatureDigestReference" type="{http://dss.esig.europa.eu/validation/diagnostic}SignatureDigestReference"/> <element name="DataToBeSignedRepresentation" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestAlgoAndValue" minOccurs="0"/> <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> </sequence> <attribute name="CounterSignature" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="Parent" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> <attribute name="Duplicated" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </extension> </complexContent> </complexType>
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected XmlBasicSignature
protected List<XmlChainItem>
protected Date
protected List<XmlCommitmentTypeIndication>
protected String
protected String
protected String
protected Boolean
protected String
protected XmlDigestAlgoAndValue
protected List<XmlDigestMatcher>
protected Boolean
protected String
protected XmlFoundCertificates
protected XmlFoundRevocations
protected List<XmlFoundTimestamp>
protected String
protected XmlSignature
protected XmlPDFRevision
protected XmlPolicy
protected XmlSignatureDigestReference
protected String
protected SignatureLevel
protected XmlSignaturePolicyStore
protected XmlSignatureProductionPlace
protected List<XmlSignatureScope>
protected byte[]
protected XmlSignerDocumentRepresentations
protected List<XmlSignerInfo>
protected List<XmlSignerRole>
protected XmlSigningCertificate
protected XmlStructuralValidation
protected Date
Fields inherited from class eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the basicSignature property.Gets the value of the claimedSigningTime property.Gets the value of the contentHints property.Gets the value of the contentIdentifier property.Gets the value of the contentType property.Gets the value of the daIdentifier property.Gets the value of the dataToBeSignedRepresentation property.Gets the value of the errorMessage property.Gets the value of the foundCertificates property.Gets the value of the foundRevocations property.Gets the value of the mimeType property.Gets the value of the parent property.Gets the value of the pdfRevision property.Gets the value of the policy property.Gets the value of the signatureDigestReference property.Gets the value of the signatureFilename property.Gets the value of the signatureFormat property.Gets the value of the signaturePolicyStore property.Gets the value of the signatureProductionPlace property.byte[]
Gets the value of the signatureValue property.Gets the value of the signerDocumentRepresentations property.Gets the value of the signerRole property.Gets the value of the signingCertificate property.Gets the value of the structuralValidation property.Gets the value of the vriDictionaryCreationTime property.Gets the value of the counterSignature property.Gets the value of the duplicated property.void
Sets the value of the basicSignature property.void
setCertificateChain
(List<XmlChainItem> certificateChain) void
setClaimedSigningTime
(Date value) Sets the value of the claimedSigningTime property.void
setCommitmentTypeIndications
(List<XmlCommitmentTypeIndication> commitmentTypeIndications) 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
setDAIdentifier
(String value) Sets the value of the daIdentifier property.void
Sets the value of the dataToBeSignedRepresentation property.void
setDigestMatchers
(List<XmlDigestMatcher> digestMatchers) void
setDuplicated
(Boolean value) Sets the value of the duplicated property.void
setErrorMessage
(String value) Sets the value of the errorMessage property.void
Sets the value of the foundCertificates property.void
Sets the value of the foundRevocations property.void
setFoundTimestamps
(List<XmlFoundTimestamp> foundTimestamps) void
setMimeType
(String value) Sets the value of the mimeType property.void
setParent
(XmlSignature value) Sets the value of the parent property.void
setPDFRevision
(XmlPDFRevision value) Sets the value of the pdfRevision property.void
Sets the value of the policy property.void
Sets the value of the signatureDigestReference property.void
setSignatureFilename
(String value) Sets the value of the signatureFilename property.void
setSignatureFormat
(SignatureLevel value) Sets the value of the signatureFormat property.void
Sets the value of the signaturePolicyStore property.void
Sets the value of the signatureProductionPlace property.void
setSignatureScopes
(List<XmlSignatureScope> signatureScopes) void
setSignatureValue
(byte[] value) Sets the value of the signatureValue property.void
Sets the value of the signerDocumentRepresentations property.void
setSignerInformationStore
(List<XmlSignerInfo> signerInformationStore) void
Sets the value of the signingCertificate property.void
Sets the value of the structuralValidation property.void
setVRIDictionaryCreationTime
(Date value) Sets the value of the vriDictionaryCreationTime property.Methods inherited from class eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken
getId, setId
-
Field Details
-
daIdentifier
-
signatureFilename
-
errorMessage
-
claimedSigningTime
-
signatureFormat
-
structuralValidation
-
digestMatchers
-
basicSignature
-
signingCertificate
-
certificateChain
-
contentType
-
mimeType
-
contentIdentifier
-
contentHints
-
signatureProductionPlace
-
commitmentTypeIndications
-
signerRole
-
policy
-
signaturePolicyStore
-
signerInformationStore
-
pdfRevision
-
vriDictionaryCreationTime
-
signerDocumentRepresentations
-
foundCertificates
-
foundRevocations
-
foundTimestamps
-
signatureScopes
-
signatureDigestReference
-
dataToBeSignedRepresentation
-
signatureValue
protected byte[] signatureValue -
counterSignature
-
parent
-
duplicated
-
-
Constructor Details
-
XmlSignature
public XmlSignature()
-
-
Method Details
-
getDAIdentifier
Gets the value of the daIdentifier property.- Returns:
- possible object is
String
-
setDAIdentifier
Sets the value of the daIdentifier property.- Parameters:
value
- allowed object isString
-
getSignatureFilename
Gets the value of the signatureFilename property.- Returns:
- possible object is
String
-
setSignatureFilename
Sets the value of the signatureFilename property.- Parameters:
value
- allowed object isString
-
getErrorMessage
Gets the value of the errorMessage property.- Returns:
- possible object is
String
-
setErrorMessage
Sets the value of the errorMessage property.- Parameters:
value
- allowed object isString
-
getClaimedSigningTime
Gets the value of the claimedSigningTime property.- Returns:
- possible object is
String
-
setClaimedSigningTime
Sets the value of the claimedSigningTime 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
-
getStructuralValidation
Gets the value of the structuralValidation property.- Returns:
- possible object is
XmlStructuralValidation
-
setStructuralValidation
Sets the value of the structuralValidation property.- Parameters:
value
- allowed object isXmlStructuralValidation
-
getBasicSignature
Gets the value of the basicSignature property.- Returns:
- possible object is
XmlBasicSignature
-
setBasicSignature
Sets the value of the basicSignature property.- Parameters:
value
- allowed object isXmlBasicSignature
-
getSigningCertificate
Gets the value of the signingCertificate property.- Returns:
- possible object is
XmlSigningCertificate
-
setSigningCertificate
Sets the value of the signingCertificate property.- Parameters:
value
- allowed object isXmlSigningCertificate
-
getContentType
Gets the value of the contentType property.- Returns:
- possible object is
String
-
setContentType
Sets the value of the contentType property.- Parameters:
value
- allowed object isString
-
getMimeType
Gets the value of the mimeType property.- Returns:
- possible object is
String
-
setMimeType
Sets the value of the mimeType property.- Parameters:
value
- allowed object isString
-
getContentIdentifier
Gets the value of the contentIdentifier property.- Returns:
- possible object is
String
-
setContentIdentifier
Sets the value of the contentIdentifier property.- Parameters:
value
- allowed object isString
-
getContentHints
Gets the value of the contentHints property.- Returns:
- possible object is
String
-
setContentHints
Sets the value of the contentHints property.- Parameters:
value
- allowed object isString
-
getSignatureProductionPlace
Gets the value of the signatureProductionPlace property.- Returns:
- possible object is
XmlSignatureProductionPlace
-
setSignatureProductionPlace
Sets the value of the signatureProductionPlace property.- Parameters:
value
- allowed object isXmlSignatureProductionPlace
-
getSignerRole
Gets the value of the signerRole 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 signerRole property.For example, to add a new item, do as follows:
getSignerRole().add(newItem);
Objects of the following type(s) are allowed in the list
XmlSignerRole
-
getPolicy
Gets the value of the policy property.- Returns:
- possible object is
XmlPolicy
-
setPolicy
Sets the value of the policy property.- Parameters:
value
- allowed object isXmlPolicy
-
getSignaturePolicyStore
Gets the value of the signaturePolicyStore property.- Returns:
- possible object is
XmlSignaturePolicyStore
-
setSignaturePolicyStore
Sets the value of the signaturePolicyStore property.- Parameters:
value
- allowed object isXmlSignaturePolicyStore
-
getPDFRevision
Gets the value of the pdfRevision property.- Returns:
- possible object is
XmlPDFRevision
-
setPDFRevision
Sets the value of the pdfRevision property.- Parameters:
value
- allowed object isXmlPDFRevision
-
getVRIDictionaryCreationTime
Gets the value of the vriDictionaryCreationTime property.- Returns:
- possible object is
String
-
setVRIDictionaryCreationTime
Sets the value of the vriDictionaryCreationTime property.- Parameters:
value
- allowed object isString
-
getSignerDocumentRepresentations
Gets the value of the signerDocumentRepresentations property.- Returns:
- possible object is
XmlSignerDocumentRepresentations
-
setSignerDocumentRepresentations
Sets the value of the signerDocumentRepresentations property.- Parameters:
value
- allowed object isXmlSignerDocumentRepresentations
-
getFoundCertificates
Gets the value of the foundCertificates property.- Returns:
- possible object is
XmlFoundCertificates
-
setFoundCertificates
Sets the value of the foundCertificates property.- Parameters:
value
- allowed object isXmlFoundCertificates
-
getFoundRevocations
Gets the value of the foundRevocations property.- Returns:
- possible object is
XmlFoundRevocations
-
setFoundRevocations
Sets the value of the foundRevocations property.- Parameters:
value
- allowed object isXmlFoundRevocations
-
getSignatureDigestReference
Gets the value of the signatureDigestReference property.- Returns:
- possible object is
XmlSignatureDigestReference
-
setSignatureDigestReference
Sets the value of the signatureDigestReference property.- Parameters:
value
- allowed object isXmlSignatureDigestReference
-
getDataToBeSignedRepresentation
Gets the value of the dataToBeSignedRepresentation property.- Returns:
- possible object is
XmlDigestAlgoAndValue
-
setDataToBeSignedRepresentation
Sets the value of the dataToBeSignedRepresentation property.- Parameters:
value
- allowed object isXmlDigestAlgoAndValue
-
getSignatureValue
public byte[] getSignatureValue()Gets the value of the signatureValue property.- Returns:
- possible object is byte[]
-
setSignatureValue
public void setSignatureValue(byte[] value) Sets the value of the signatureValue property.- Parameters:
value
- allowed object is byte[]
-
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
-
getParent
Gets the value of the parent property.- Returns:
- possible object is
Object
-
setParent
Sets the value of the parent property.- Parameters:
value
- allowed object isObject
-
isDuplicated
Gets the value of the duplicated property.- Returns:
- possible object is
Boolean
-
setDuplicated
Sets the value of the duplicated property.- Parameters:
value
- allowed object isBoolean
-
getDigestMatchers
-
setDigestMatchers
-
getCertificateChain
-
setCertificateChain
-
getCommitmentTypeIndications
-
setCommitmentTypeIndications
public void setCommitmentTypeIndications(List<XmlCommitmentTypeIndication> commitmentTypeIndications) -
getSignerInformationStore
-
setSignerInformationStore
-
getFoundTimestamps
-
setFoundTimestamps
-
getSignatureScopes
-
setSignatureScopes
-