javax.xml.crypto.dsig.keyinfo.KeyValue, javax.xml.crypto.XMLStructurepublic abstract class DOMKeyValue<K extends java.security.PublicKey> extends BaseStructure implements javax.xml.crypto.dsig.keyinfo.KeyValue
| Constructor | Description |
|---|---|
DOMKeyValue(K key) |
|
DOMKeyValue(org.w3c.dom.Element kvtElem,
javax.xml.crypto.XMLCryptoContext context) |
Creates a
DOMKeyValue from an element. |
| Modifier and Type | Method | Description |
|---|---|---|
static java.math.BigInteger |
decode(java.security.PublicKey key) |
|
static java.math.BigInteger |
decode(org.w3c.dom.Element elem) |
|
boolean |
equals(java.lang.Object obj) |
|
java.security.PublicKey |
getPublicKey() |
|
int |
hashCode() |
|
void |
marshal(XmlWriter xwriter,
java.lang.String dsPrefix,
javax.xml.crypto.XMLCryptoContext context) |
|
static void |
marshal(XmlWriter xwriter,
java.math.BigInteger bigNum) |
|
static void |
writeBase64BigIntegerElement(XmlWriter xwriter,
java.lang.String prefix,
java.lang.String localName,
java.lang.String namespaceURI,
java.math.BigInteger value) |
isFeatureSupported, textOfNodepublic DOMKeyValue(K key) throws java.security.KeyException
java.security.KeyExceptionpublic DOMKeyValue(org.w3c.dom.Element kvtElem,
javax.xml.crypto.XMLCryptoContext context)
throws javax.xml.crypto.MarshalException
DOMKeyValue from an element.kvtElem - a KeyValue child elementjavax.xml.crypto.MarshalExceptionpublic java.security.PublicKey getPublicKey()
throws java.security.KeyException
getPublicKey in interface javax.xml.crypto.dsig.keyinfo.KeyValuejava.security.KeyExceptionpublic void marshal(XmlWriter xwriter, java.lang.String dsPrefix, javax.xml.crypto.XMLCryptoContext context) throws javax.xml.crypto.MarshalException
javax.xml.crypto.MarshalExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic static java.math.BigInteger decode(org.w3c.dom.Element elem)
throws javax.xml.crypto.MarshalException
javax.xml.crypto.MarshalExceptionpublic static java.math.BigInteger decode(java.security.PublicKey key)
throws java.security.KeyException
java.security.KeyExceptionpublic static void writeBase64BigIntegerElement(XmlWriter xwriter, java.lang.String prefix, java.lang.String localName, java.lang.String namespaceURI, java.math.BigInteger value)
public static void marshal(XmlWriter xwriter, java.math.BigInteger bigNum)
public int hashCode()
hashCode in class java.lang.Object