public final class DOMSignatureProperties extends DOMStructure implements javax.xml.crypto.dsig.SignatureProperties
Constructor and Description |
---|
DOMSignatureProperties(org.w3c.dom.Element propsElem,
javax.xml.crypto.XMLCryptoContext context)
Creates a
DOMSignatureProperties from an element. |
DOMSignatureProperties(java.util.List<? extends javax.xml.crypto.dsig.SignatureProperty> properties,
java.lang.String id)
Creates a
DOMSignatureProperties from the specified
parameters. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId() |
java.util.List |
getProperties() |
void |
marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
javax.xml.crypto.dom.DOMCryptoContext context) |
isFeatureSupported
public DOMSignatureProperties(java.util.List<? extends javax.xml.crypto.dsig.SignatureProperty> properties, java.lang.String id)
DOMSignatureProperties
from the specified
parameters.properties
- a list of one or more SignatureProperty
s. The
list is defensively copied to protect against subsequent modification.id
- the Id (may be null
)java.lang.ClassCastException
- if properties
contains any
entries that are not of type SignatureProperty
java.lang.IllegalArgumentException
- if properties
is emptyjava.lang.NullPointerException
- if properties
public DOMSignatureProperties(org.w3c.dom.Element propsElem, javax.xml.crypto.XMLCryptoContext context) throws javax.xml.crypto.MarshalException
DOMSignatureProperties
from an element.propsElem
- a SignatureProperties elementjavax.xml.crypto.MarshalException
- if a marshalling error occurspublic java.util.List getProperties()
getProperties
in interface javax.xml.crypto.dsig.SignatureProperties
public java.lang.String getId()
getId
in interface javax.xml.crypto.dsig.SignatureProperties
public void marshal(org.w3c.dom.Node parent, java.lang.String dsPrefix, javax.xml.crypto.dom.DOMCryptoContext context) throws javax.xml.crypto.MarshalException
marshal
in class DOMStructure
javax.xml.crypto.MarshalException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object