public abstract class DOMKeyValue extends DOMStructure implements KeyValue
| Constructor and Description |
|---|
DOMKeyValue(Element kvtElem)
Creates a
DOMKeyValue from an element. |
DOMKeyValue(PublicKey key) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PublicKey |
getPublicKey()
Returns the public key of this
KeyValue. |
int |
hashCode() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
isFeatureSupportedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFeatureSupportedpublic DOMKeyValue(PublicKey key) throws KeyException
KeyExceptionpublic DOMKeyValue(Element kvtElem) throws MarshalException
DOMKeyValue from an element.kvtElem - a KeyValue child elementMarshalExceptionpublic PublicKey getPublicKey() throws KeyException
KeyValueKeyValue.getPublicKey in interface KeyValueKeyValueKeyException - if this KeyValue cannot be converted
to a PublicKeypublic void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal in class DOMStructureMarshalExceptionCopyright © 2000–2022 The Apache Software Foundation. All rights reserved.