javax.xml.crypto.dsig.SignatureProperties, javax.xml.crypto.XMLStructurepublic final class DOMSignatureProperties extends BaseStructure implements javax.xml.crypto.dsig.SignatureProperties
| Constructor | Description |
|---|---|
DOMSignatureProperties(java.util.List<DOMSignatureProperty> properties,
java.lang.String id) |
Creates a
DOMSignatureProperties from the specified
parameters. |
DOMSignatureProperties(org.w3c.dom.Element propsElem) |
Creates a
DOMSignatureProperties from an element. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getId() |
|
java.util.List<javax.xml.crypto.dsig.SignatureProperty> |
getProperties() |
|
int |
hashCode() |
|
static void |
marshal(XmlWriter xwriter,
javax.xml.crypto.dsig.SignatureProperties sigProps,
java.lang.String dsPrefix,
javax.xml.crypto.XMLCryptoContext context) |
isFeatureSupported, textOfNodepublic DOMSignatureProperties(java.util.List<DOMSignatureProperty> 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)
throws javax.xml.crypto.MarshalException
DOMSignatureProperties from an element.propsElem - a SignatureProperties elementjavax.xml.crypto.MarshalException - if a marshalling error occurspublic java.util.List<javax.xml.crypto.dsig.SignatureProperty> getProperties()
getProperties in interface javax.xml.crypto.dsig.SignaturePropertiespublic java.lang.String getId()
getId in interface javax.xml.crypto.dsig.SignaturePropertiespublic static void marshal(XmlWriter xwriter, javax.xml.crypto.dsig.SignatureProperties sigProps, java.lang.String dsPrefix, javax.xml.crypto.XMLCryptoContext context) throws javax.xml.crypto.MarshalException
javax.xml.crypto.MarshalExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object