public abstract class DOMKeyValue extends DOMStructure implements KeyValue
| Constructor and Description |
|---|
DOMKeyValue(org.w3c.dom.Element kvtElem)
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()
Returns the public key of this
KeyValue. |
int |
hashCode() |
void |
marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
DOMCryptoContext context) |
isFeatureSupportedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFeatureSupportedpublic DOMKeyValue(java.security.PublicKey key)
throws java.security.KeyException
java.security.KeyExceptionpublic DOMKeyValue(org.w3c.dom.Element kvtElem)
throws MarshalException
DOMKeyValue from an element.kvtElem - a KeyValue child elementMarshalExceptionpublic java.security.PublicKey getPublicKey()
throws java.security.KeyException
KeyValueKeyValue.getPublicKey in interface KeyValueKeyValuejava.security.KeyException - if this KeyValue cannot be converted
to a PublicKeypublic void marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
DOMCryptoContext context)
throws MarshalException
marshal in class DOMStructureMarshalExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.