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) |
isFeatureSupportedpublic 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 SignaturePropertys. 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 SignaturePropertyjava.lang.IllegalArgumentException - if properties is emptyjava.lang.NullPointerException - if propertiespublic 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.SignaturePropertiespublic java.lang.String getId()
getId in interface javax.xml.crypto.dsig.SignaturePropertiespublic 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 DOMStructurejavax.xml.crypto.MarshalExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object