public abstract class CompleteCertificateRefsTypeImpl extends XadesDOMStructure
Constructor and Description |
---|
CompleteCertificateRefsTypeImpl(DOMCryptoContext context,
Node node)
Creates a new instance of this
CompleteCertificateRefsTypeImpl
with the given context and node. |
CompleteCertificateRefsTypeImpl(List certRefs,
String id)
Creates a new instance of this
CompleteCertificateRefsImpl
with the given list of CertIDImpl s and id -attribute
value. |
Modifier and Type | Method and Description |
---|---|
List |
getCertRefs() |
protected List |
getChildStructures() |
String |
getId() |
abstract String |
getLocalName() |
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, marshal, marshalAttributes, marshalElement, newIDforLookUp, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalElement, unmarshalIDAttribute, unmarshalStructures, wrapNode
public CompleteCertificateRefsTypeImpl(DOMCryptoContext context, Node node) throws MarshalException
CompleteCertificateRefsTypeImpl
with the given context and node.context
- the contextnode
- the node to unmarshal fromMarshalException
- if an exception occurs during unmarshalingpublic CompleteCertificateRefsTypeImpl(List certRefs, String id)
CompleteCertificateRefsImpl
with the given list of CertIDImpl
s and id
-attribute
value.certRefs
- a list of CertIDImpl
sid
- the id
-attribute value (may be null
)NullPointerException
- if config
or certRefs
is
null
IllegalArgumentException
- if certRefs
is emptyClassCastException
- if certRefs
contains any elements not of type
CertIDImpl
public String getId()
CompleteCertificateRefs.getId()
public List getCertRefs()
CompleteCertificateRefs.getCertRefs()
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 abstract String getLocalName()
getLocalName
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getLocalName()
© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC