public final class DOMSignatureProperties extends DOMStructure implements SignatureProperties
TYPE
Constructor and Description |
---|
DOMSignatureProperties(Element propsElem)
Creates a
DOMSignatureProperties from an element. |
DOMSignatureProperties(List<? extends SignatureProperty> 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() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
equalsContent, isFeatureSupported
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFeatureSupported
public DOMSignatureProperties(List<? extends SignatureProperty> 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 void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal
in class DOMStructure
MarshalException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.