public abstract class DOMKeyValue<K extends PublicKey> extends BaseStructure 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() |
static void |
marshal(XmlWriter xwriter,
BigInteger bigNum) |
void |
marshal(XmlWriter xwriter,
String dsPrefix,
XMLCryptoContext context) |
static void |
writeBase64BigIntegerElement(XmlWriter xwriter,
String prefix,
String localName,
String namespaceURI,
BigInteger value) |
isFeatureSupported, textOfNode
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(XmlWriter xwriter, String dsPrefix, XMLCryptoContext context) throws MarshalException
MarshalException
public static BigInteger decode(Element elem) throws MarshalException
MarshalException
public static void writeBase64BigIntegerElement(XmlWriter xwriter, String prefix, String localName, String namespaceURI, BigInteger value)
public static void marshal(XmlWriter xwriter, BigInteger bigNum)
Copyright © 2000–2022 The Apache Software Foundation. All rights reserved.