public abstract class DOMKeyValue<K extends PublicKey> extends DOMStructure implements KeyValue
Constructor and Description |
---|
DOMKeyValue(Element kvtElem)
Creates a
DOMKeyValue from an element. |
DOMKeyValue(K key) |
Modifier and Type | Method and Description |
---|---|
static BigInteger |
decode(Element elem) |
boolean |
equals(Object obj) |
PublicKey |
getPublicKey() |
int |
hashCode() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
equalsContent, isFeatureSupported
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFeatureSupported
public DOMKeyValue(K key) throws KeyException
KeyException
public DOMKeyValue(Element kvtElem) throws MarshalException
DOMKeyValue
from an element.kvtElem
- a KeyValue child elementMarshalException
public PublicKey getPublicKey() throws KeyException
getPublicKey
in interface KeyValue
KeyException
public void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal
in class DOMStructure
MarshalException
public static BigInteger decode(Element elem) throws MarshalException
MarshalException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.