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, textOfNodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFeatureSupportedpublic DOMKeyValue(K key) throws KeyException
KeyExceptionpublic DOMKeyValue(Element kvtElem) throws MarshalException
DOMKeyValue from an element.kvtElem - a KeyValue child elementMarshalExceptionpublic PublicKey getPublicKey() throws KeyException
getPublicKey in interface KeyValueKeyExceptionpublic void marshal(XmlWriter xwriter, String dsPrefix, XMLCryptoContext context) throws MarshalException
MarshalExceptionpublic static BigInteger decode(Element elem) throws MarshalException
MarshalExceptionpublic static void writeBase64BigIntegerElement(XmlWriter xwriter, String prefix, String localName, String namespaceURI, BigInteger value)
public static void marshal(XmlWriter xwriter, BigInteger bigNum)
Copyright © 2000–2016 The Apache Software Foundation. All rights reserved.