public final class DOMSignatureProperties extends BaseStructure implements SignatureProperties
TYPE
Constructor and Description |
---|
DOMSignatureProperties(Element propsElem)
Creates a
DOMSignatureProperties from an element. |
DOMSignatureProperties(List<DOMSignatureProperty> properties,
String id)
Creates a
DOMSignatureProperties from the specified
parameters. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getId() |
List<SignatureProperty> |
getProperties() |
int |
hashCode() |
static void |
marshal(XmlWriter xwriter,
SignatureProperties sigProps,
String dsPrefix,
XMLCryptoContext context) |
isFeatureSupported, textOfNode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFeatureSupported
public DOMSignatureProperties(List<DOMSignatureProperty> properties, 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
)ClassCastException
- if properties
contains any
entries that are not of type SignatureProperty
IllegalArgumentException
- if properties
is emptyNullPointerException
- if properties
public DOMSignatureProperties(Element propsElem) throws MarshalException
DOMSignatureProperties
from an element.propsElem
- a SignatureProperties elementMarshalException
- if a marshalling error occurspublic List<SignatureProperty> getProperties()
getProperties
in interface SignatureProperties
public String getId()
getId
in interface SignatureProperties
public static void marshal(XmlWriter xwriter, SignatureProperties sigProps, String dsPrefix, XMLCryptoContext context) throws MarshalException
MarshalException
Copyright © 2000–2024 The Apache Software Foundation. All rights reserved.