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 aDOMKeyValuefrom an element. -
Method Summary
Modifier and TypeMethodDescriptionstatic BigIntegerbooleaninthashCode()voidmarshal(Node parent, String dsPrefix, DOMCryptoContext context) Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
isFeatureSupportedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
-
Constructor Details
-
DOMKeyValue
- Throws:
KeyException
-
DOMKeyValue
Creates aDOMKeyValuefrom an element.- Parameters:
kvtElem- a KeyValue child element- Throws:
MarshalException
-
-
Method Details
-
getPublicKey
- Specified by:
getPublicKeyin interfaceKeyValue- Throws:
KeyException
-
marshal
- Specified by:
marshalin classDOMStructure- Throws:
MarshalException
-
equals
-
decode
- Throws:
MarshalException
-
hashCode
public int hashCode()
-