public abstract class DOMKeyValue extends DOMStructure implements javax.xml.crypto.dsig.keyinfo.KeyValue
Constructor and Description |
---|
DOMKeyValue(org.w3c.dom.Element kvtElem,
javax.xml.crypto.XMLCryptoContext context)
Creates a
DOMKeyValue from an element. |
DOMKeyValue(java.security.PublicKey key) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.security.PublicKey |
getPublicKey() |
void |
marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
javax.xml.crypto.dom.DOMCryptoContext context) |
isFeatureSupported
public DOMKeyValue(java.security.PublicKey key) throws java.security.KeyException
java.security.KeyException
public DOMKeyValue(org.w3c.dom.Element kvtElem, javax.xml.crypto.XMLCryptoContext context) throws javax.xml.crypto.MarshalException
DOMKeyValue
from an element.kvtElem
- a KeyValue child elementjavax.xml.crypto.MarshalException
public java.security.PublicKey getPublicKey() throws java.security.KeyException
getPublicKey
in interface javax.xml.crypto.dsig.keyinfo.KeyValue
java.security.KeyException
public void marshal(org.w3c.dom.Node parent, java.lang.String dsPrefix, javax.xml.crypto.dom.DOMCryptoContext context) throws javax.xml.crypto.MarshalException
marshal
in class DOMStructure
javax.xml.crypto.MarshalException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object