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 SignaturePropertys that are contained in
this SignatureProperties. |
int |
hashCode() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
isFeatureSupportedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFeatureSupportedpublic DOMSignatureProperties(List<? extends SignatureProperty> properties, 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)ClassCastException - if properties contains any
entries that are not of type SignaturePropertyIllegalArgumentException - if properties is emptyNullPointerException - if propertiespublic DOMSignatureProperties(Element propsElem, XMLCryptoContext context) throws MarshalException
DOMSignatureProperties from an element.propsElem - a SignatureProperties elementMarshalException - if a marshalling error occurspublic List getProperties()
SignaturePropertiesunmodifiable
list of one or more SignaturePropertys that are contained in
this SignatureProperties.getProperties in interface SignaturePropertiesSignaturePropertyspublic String getId()
SignaturePropertiesSignatureProperties.getId in interface SignaturePropertiesSignatureProperties (or
null if not specified)public void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal in class DOMStructureMarshalExceptionCopyright © 2000–2022 The Apache Software Foundation. All rights reserved.