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) |
isFeatureSupported
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFeatureSupported
public DOMKeyValue(PublicKey key) throws KeyException
KeyException
public DOMKeyValue(Element kvtElem) throws MarshalException
DOMKeyValue
from an element.kvtElem
- a KeyValue child elementMarshalException
public PublicKey getPublicKey() throws KeyException
KeyValue
KeyValue
.getPublicKey
in interface KeyValue
KeyValue
KeyException
- if this KeyValue
cannot be converted
to a PublicKey
public void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal
in class DOMStructure
MarshalException
Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.