Class DOMKeyValue<K extends PublicKey>
java.lang.Object
org.apache.jcp.xml.dsig.internal.dom.DOMStructure
org.apache.jcp.xml.dsig.internal.dom.DOMKeyValue<K>
- All Implemented Interfaces:
KeyValue
,XMLStructure
DOM-based implementation of KeyValue.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDOMKeyValue
(K key) DOMKeyValue
(Element kvtElem) Creates aDOMKeyValue
from an element. -
Method Summary
Modifier and TypeMethodDescriptionstatic BigInteger
boolean
int
hashCode()
void
marshal
(Node parent, String dsPrefix, DOMCryptoContext context) Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
isFeatureSupported
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
-
Constructor Details
-
DOMKeyValue
- Throws:
KeyException
-
DOMKeyValue
Creates aDOMKeyValue
from an element.- Parameters:
kvtElem
- a KeyValue child element- Throws:
MarshalException
-
-
Method Details
-
getPublicKey
- Specified by:
getPublicKey
in interfaceKeyValue
- Throws:
KeyException
-
marshal
- Specified by:
marshal
in classDOMStructure
- Throws:
MarshalException
-
equals
-
decode
- Throws:
MarshalException
-
hashCode
public int hashCode()
-