public class QualifyingPropertiesImpl extends XadesDOMStructure implements QualifyingProperties
QualifyingProperties
property which
supports the DOM XML processing and representation mechanism.QualifyingProperties
Constructor and Description |
---|
QualifyingPropertiesImpl(DOMCryptoContext context,
Node node) |
QualifyingPropertiesImpl(SignedPropertiesImpl signedProperties,
UnsignedPropertiesImpl unsignedProperties,
String target,
String id) |
Modifier and Type | Method and Description |
---|---|
void |
appendUnsignedProperties(UnsignedPropertiesImpl unsignedProperties,
DOMCryptoContext context)
Appends the given
UnsignedProperties . |
protected List |
getChildStructures() |
String |
getId()
Returns the
id -attribute value. |
String |
getLocalName() |
SignedProperties |
getSignedProperties()
Returns the signed properties.
|
String |
getTarget()
Returns the
target -attribute value. |
protected iaik.xml.crypto.dsig.XMLSignatureImpl |
getTargetSignature() |
UnsignedProperties |
getUnsignedProperties()
Returns the unsigned properties.
|
Node |
marshal(DOMCryptoContext context,
Node parent,
Node nextSibling) |
protected void |
marshalAttributes(DOMCryptoContext context,
Element parent) |
protected Attr |
marshalIDAttribute(DOMCryptoContext context,
Element parent) |
protected void |
putChildStructure(iaik.xml.crypto.dom.DOMStructure childStructure) |
protected void |
unmarshalAttributes(NamedNodeMap attributes,
DOMCryptoContext context) |
getInstance, getNamespace, getParentQualifyingPropertiesOf, getParentSignatureOf
addBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructureVersion, getHere, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshalElement, newIDforLookUp, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalElement, unmarshalIDAttribute, unmarshalStructures, wrapNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFeatureSupported
public QualifyingPropertiesImpl(DOMCryptoContext context, Node node) throws MarshalException
MarshalException
public QualifyingPropertiesImpl(SignedPropertiesImpl signedProperties, UnsignedPropertiesImpl unsignedProperties, String target, String id)
public SignedProperties getSignedProperties()
QualifyingProperties
getSignedProperties
in interface QualifyingProperties
QualifyingProperties.getSignedProperties()
public UnsignedProperties getUnsignedProperties()
QualifyingProperties
getUnsignedProperties
in interface QualifyingProperties
QualifyingProperties.getUnsignedProperties()
public String getTarget()
QualifyingProperties
target
-attribute value.getTarget
in interface QualifyingProperties
target
-attribute valueQualifyingProperties.getTarget()
public String getId()
QualifyingProperties
id
-attribute value.getId
in interface QualifyingProperties
id
-attribute valueQualifyingProperties.getId()
protected iaik.xml.crypto.dsig.XMLSignatureImpl getTargetSignature() throws XMLSignatureException
XMLSignatureException
public String getLocalName()
getLocalName
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getLocalName()
public Node marshal(DOMCryptoContext context, Node parent, Node nextSibling) throws MarshalException
marshal
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.marshal(DOMCryptoContext, Node, Node)
protected void marshalAttributes(DOMCryptoContext context, Element parent) throws MarshalException
marshalAttributes
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.marshalAttributes(DOMCryptoContext,
Element)
protected Attr marshalIDAttribute(DOMCryptoContext context, Element parent)
marshalIDAttribute
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.marshalIDAttribute(DOMCryptoContext,
Element)
protected void unmarshalAttributes(NamedNodeMap attributes, DOMCryptoContext context) throws MarshalException
unmarshalAttributes
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.unmarshalAttributes(org.w3c.dom.NamedNodeMap,
DOMCryptoContext)
protected List getChildStructures()
getChildStructures
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getChildStructures()
protected void putChildStructure(iaik.xml.crypto.dom.DOMStructure childStructure) throws MarshalException
putChildStructure
in class iaik.xml.crypto.dom.DOMStructure
MarshalException
DOMStructure.putChildStructure(DOMStructure)
public void appendUnsignedProperties(UnsignedPropertiesImpl unsignedProperties, DOMCryptoContext context) throws XMLSignatureException, MarshalException
UnsignedProperties
.
Throws an XMLSignatureException
if UnsignedProperties
are already present.
unsignedProperties
- the UnsignedProperties
context
- the marshal contextXMLSignatureException
- if an unexpected exception occursMarshalException
- if an exception occurs while marshaling© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC