public final class DOMKeyName extends DOMStructure implements KeyName
Constructor and Description |
---|
DOMKeyName(Element knElem)
Creates a
DOMKeyName from a KeyName element. |
DOMKeyName(String name)
Creates a
DOMKeyName . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName() |
int |
hashCode() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
equalsContent, isFeatureSupported
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFeatureSupported
public DOMKeyName(String name)
DOMKeyName
.name
- the name of the key identifierNullPointerException
- if name
is nullpublic DOMKeyName(Element knElem)
DOMKeyName
from a KeyName element.knElem
- a KeyName elementpublic 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.