public class QualifyingProperties extends XAdESBaseElement
The QualifyingProperties element acts as a container element
for all the qualifying information that should be added to an XML signature.
The qualifying properties are split into properties that are
cryptographically bound to (i.e. signed by) the XML signature
(SignedProperties), and properties that are not
cryptographically bound tothe XML signature
(UnsignedProperties). The SignedProperties MUST be
covered by a ds:Reference element of the XML signature.
The mandatory Target attribute MUST refer to the Id attribute
of the corresponding ds:Signature. Its value MUST be an URI
with a bare-name XPointer fragment. When this element is enveloped by the
XAdES signature, its not-fragment part MUST be empty. Otherwise, its
not-fragment part MAY NOT be empty.
The optional Id attribute can be used to make a reference to
the QualifyingProperties container.
It is strongly recommended not to include empty
xades:SignedProperties or empty
xades:UnsignedProperties elements within the signature.
Applications verifying XAdES signatures MUST ignore empty
xades:SignedProperties and empty
xades:UnsignedProperties elements.
The element has the following structure.
<xsd:element name="QualifyingProperties" type="QualifyingPropertiesType"/>
<xsd:complexType name="QualifyingPropertiesType">
<xsd:sequence>
<xsd:element name="SignedProperties" type="SignedPropertiesType" minOccurs="0"/>
<xsd:element name="UnsignedProperties" type="UnsignedPropertiesType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="Target" type="xsd:anyURI" use="required"/>
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
</xsd:complexType>
mContext, mElement, mId| Constructor and Description |
|---|
QualifyingProperties(org.w3c.dom.Element aElement,
Context aContext,
XMLSignature aSignature)
Construct QualifyingProperties from existing
|
QualifyingProperties(XMLSignature aSignature,
Context aContext) |
| Modifier and Type | Method and Description |
|---|---|
UnsignedProperties |
createOrGetUnsignedProperties() |
java.lang.String |
getLocalName() |
SignedDataObjectProperties |
getSignedDataObjectProperties() |
SignedProperties |
getSignedProperties() |
SignedSignatureProperties |
getSignedSignatureProperties() |
java.lang.String |
getTarget() |
UnsignedDataObjectProperties |
getUnsignedDataObjectProperties() |
UnsignedProperties |
getUnsignedProperties() |
UnsignedSignatureProperties |
getUnsignedSignatureProperties() |
void |
setTarget(java.lang.String aTarget) |
getNamespaceaddBigIntegerElement, addLineBreak, addLineBreak, checkNamespace, createElement, generateAndSetId, getAttribute, getBigIntegerFromElement, getChildText, getContext, getDocument, getElement, getId, insertBase64EncodedElement, insertElement, insertTextElement, selectChildElement, selectChildren, setIdpublic QualifyingProperties(XMLSignature aSignature, Context aContext)
public QualifyingProperties(org.w3c.dom.Element aElement,
Context aContext,
XMLSignature aSignature)
throws XMLSignatureException
aElement - xml elementaContext - according to contextXMLSignatureException - when structure is invalid or can not be
resolved appropriatelypublic SignedProperties getSignedProperties()
public UnsignedProperties getUnsignedProperties()
public UnsignedProperties createOrGetUnsignedProperties()
public java.lang.String getTarget()
public void setTarget(java.lang.String aTarget)
public UnsignedSignatureProperties getUnsignedSignatureProperties()
public UnsignedDataObjectProperties getUnsignedDataObjectProperties()
public SignedSignatureProperties getSignedSignatureProperties()
public SignedDataObjectProperties getSignedDataObjectProperties()
public java.lang.String getLocalName()
getLocalName in class BaseElementCopyright © 2025. All rights reserved.