public final class DOMSignatureProperties extends DOMStructure implements SignatureProperties
TYPE
Constructor and Description |
---|
DOMSignatureProperties(Element propsElem,
XMLCryptoContext context)
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()
Returns the Id of this
SignatureProperties . |
List |
getProperties()
Returns an
unmodifiable
list of one or more SignatureProperty s that are contained in
this SignatureProperties . |
int |
hashCode() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
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, XMLCryptoContext context) throws MarshalException
DOMSignatureProperties
from an element.propsElem
- a SignatureProperties elementMarshalException
- if a marshalling error occurspublic List getProperties()
SignatureProperties
unmodifiable
list
of one or more SignatureProperty
s that are contained in
this SignatureProperties
.getProperties
in interface SignatureProperties
SignatureProperty
spublic String getId()
SignatureProperties
SignatureProperties
.getId
in interface SignatureProperties
SignatureProperties
(or
null
if not specified)public void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal
in class DOMStructure
MarshalException
Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.