Package com.sun.xml.wss.core
Class EncryptedHeaderBlock
java.lang.Object
com.sun.xml.wss.impl.misc.SOAPElementExtension
com.sun.xml.wss.core.EncryptedHeaderBlock
- All Implemented Interfaces:
Node,SOAPElement,Element,Node
Corresponds to Schema definition for EncryptedData.
Schema definition for EncryptedData is as follows:
<xmp>
<element name='EncryptedHeader' type='wsse11:EncryptedHeaderType'/>
<complexType name='EncryptedHeaderType'>
<element name='EncryptedData'>
<complexContent>
<extension base='xenc:EncryptedType'/>
</complexContent>
</element>
</complexType>
</xmp>
- Author:
- Mayank Mishra
-
Field Summary
FieldsFields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Constructor Summary
ConstructorsConstructorDescriptionEncryptedHeaderBlock(SOAPElement delegateElement) Creates a new instance of EncryptedHeaderBlock -
Method Summary
Modifier and TypeMethodDescriptionaddAttribute(Name name, String string) addChildElement(Name name) addChildElement(SOAPElement sOAPElement) addChildElement(String string) addChildElement(String string, String string0) addChildElement(String string, String string0, String string1) addNamespaceDeclaration(String string, String string0) addTextNode(String string) appendChild(Node newChild) cloneNode(boolean deep) shortcompareDocumentPosition(Node other) voidcopyAttributes(SecurableSoapMessage secureMsg, SecurityHeader _secHeader) voidgetAttribute(String name) getAttributeNode(String name) getAttributeNodeNS(String namespaceURI, String localName) getAttributeNS(String namespaceURI, String localName) getAttributeValue(Name name) getChildElements(Name name) getElementsByTagName(String name) getElementsByTagNameNS(String namespaceURI, String localName) getFeature(String feature, String version) getId()Returns null if id attr is not presentReturns null if MimeType attr is not presentgetNamespaceURI(String string) shortprotected static SOAPFactorygetType()Returns null if Type attr is not presentgetUserData(String key) getValue()booleanhasAttribute(String name) booleanhasAttributeNS(String namespaceURI, String localName) booleanbooleaninsertBefore(Node newChild, Node refChild) booleanisBSP()voidisBSP(boolean flag) booleanisDefaultNamespace(String namespaceURI) booleanisEqualNode(Node arg) booleanisSameNode(Node other) booleanisSupported(String feature, String version) lookupNamespaceURI(String prefix) lookupPrefix(String namespaceURI) voidvoidbooleanremoveAttribute(Name name) voidremoveAttribute(String name) removeAttributeNode(Attr oldAttr) voidremoveAttributeNS(String namespaceURI, String localName) removeChild(Node oldChild) voidbooleanremoveNamespaceDeclaration(String string) replaceChild(Node newChild, Node oldChild) voidsetAttribute(String name, String value) setAttributeNode(Attr newAttr) setAttributeNodeNS(Attr newAttr) voidsetAttributeNS(String namespaceURI, String qualifiedName, String value) voidsetEncodingStyle(String string) voidvoidsetIdAttribute(String name, boolean isId) voidsetIdAttributeNode(Attr idAttr, boolean isId) voidsetIdAttributeNS(String namespaceURI, String localName, boolean isId) voidsetMimeType(String mimeType) voidsetNodeValue(String nodeValue) voidsetParentElement(SOAPElement sOAPElement) voidprotected voidsetSOAPElement(SOAPElement delegateElement) voidsetTextContent(String textContent) voidsetUserData(String key, Object data, UserDataHandler handler) voidprotected voidsetWsuIdAttr(Element element, String wsuId) Methods inherited from class com.sun.xml.wss.impl.misc.SOAPElementExtension
addAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.xml.soap.SOAPElement
addAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQName
-
Field Details
-
delegateElement
-
-
Constructor Details
-
EncryptedHeaderBlock
- Throws:
XWSSecurityException
-
EncryptedHeaderBlock
Creates a new instance of EncryptedHeaderBlock- Throws:
XWSSecurityException
-
-
Method Details
-
setSOAPElement
-
copyAttributes
public void copyAttributes(SecurableSoapMessage secureMsg, SecurityHeader _secHeader) throws XWSSecurityException - Throws:
XWSSecurityException
-
setWsuIdAttr
-
getSoapFactory
-
getId
Returns null if id attr is not present -
setId
-
getType
Returns null if Type attr is not present -
setType
-
getMimeType
Returns null if MimeType attr is not present -
setMimeType
-
getAsSoapElement
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
public SOAPElement addChildElement(String string, String string0, String string1) throws SOAPException - Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
removeContents
public void removeContents()- Specified by:
removeContentsin interfaceSOAPElement
-
addTextNode
- Specified by:
addTextNodein interfaceSOAPElement- Throws:
SOAPException
-
addAttribute
- Specified by:
addAttributein interfaceSOAPElement- Throws:
SOAPException
-
addNamespaceDeclaration
- Specified by:
addNamespaceDeclarationin interfaceSOAPElement- Throws:
SOAPException
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceSOAPElement
-
getAllAttributes
- Specified by:
getAllAttributesin interfaceSOAPElement
-
getAllAttributesAsQNames
- Specified by:
getAllAttributesAsQNamesin interfaceSOAPElement
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceSOAPElement
-
getNamespacePrefixes
- Specified by:
getNamespacePrefixesin interfaceSOAPElement
-
getVisibleNamespacePrefixes
- Specified by:
getVisibleNamespacePrefixesin interfaceSOAPElement
-
getElementName
- Specified by:
getElementNamein interfaceSOAPElement
-
removeAttribute
- Specified by:
removeAttributein interfaceSOAPElement
-
removeNamespaceDeclaration
- Specified by:
removeNamespaceDeclarationin interfaceSOAPElement
-
getChildElements
- Specified by:
getChildElementsin interfaceSOAPElement
-
getChildElements
- Specified by:
getChildElementsin interfaceSOAPElement
-
setEncodingStyle
- Specified by:
setEncodingStylein interfaceSOAPElement- Throws:
SOAPException
-
getEncodingStyle
- Specified by:
getEncodingStylein interfaceSOAPElement
-
getValue
-
setValue
-
setParentElement
- Specified by:
setParentElementin interfaceNode- Throws:
SOAPException
-
getParentElement
- Specified by:
getParentElementin interfaceNode
-
detachNode
public void detachNode()- Specified by:
detachNodein interfaceNode
-
recycleNode
public void recycleNode()- Specified by:
recycleNodein interfaceNode
-
getNodeName
- Specified by:
getNodeNamein interfaceNode
-
getNodeValue
- Specified by:
getNodeValuein interfaceNode- Throws:
DOMException
-
setNodeValue
- Specified by:
setNodeValuein interfaceNode- Throws:
DOMException
-
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceNode
-
getParentNode
- Specified by:
getParentNodein interfaceNode
-
getChildNodes
- Specified by:
getChildNodesin interfaceNode
-
getFirstChild
- Specified by:
getFirstChildin interfaceNode
-
getLastChild
- Specified by:
getLastChildin interfaceNode
-
getPreviousSibling
- Specified by:
getPreviousSiblingin interfaceNode
-
getNextSibling
- Specified by:
getNextSiblingin interfaceNode
-
getAttributes
- Specified by:
getAttributesin interfaceNode
-
getOwnerDocument
- Specified by:
getOwnerDocumentin interfaceNode
-
insertBefore
- Specified by:
insertBeforein interfaceNode- Throws:
DOMException
-
replaceChild
- Specified by:
replaceChildin interfaceNode- Throws:
DOMException
-
removeChild
- Specified by:
removeChildin interfaceNode- Throws:
DOMException
-
appendChild
- Specified by:
appendChildin interfaceNode- Throws:
DOMException
-
hasChildNodes
public boolean hasChildNodes()- Specified by:
hasChildNodesin interfaceNode
-
cloneNode
-
normalize
public void normalize() -
isSupported
- Specified by:
isSupportedin interfaceNode
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNode
-
getPrefix
-
setPrefix
- Specified by:
setPrefixin interfaceNode- Throws:
DOMException
-
getLocalName
- Specified by:
getLocalNamein interfaceNode
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributesin interfaceNode
-
getBaseURI
- Specified by:
getBaseURIin interfaceNode
-
compareDocumentPosition
- Specified by:
compareDocumentPositionin interfaceNode- Throws:
DOMException
-
getTextContent
- Specified by:
getTextContentin interfaceNode- Throws:
DOMException
-
setTextContent
- Specified by:
setTextContentin interfaceNode- Throws:
DOMException
-
isSameNode
- Specified by:
isSameNodein interfaceNode
-
lookupPrefix
- Specified by:
lookupPrefixin interfaceNode
-
isDefaultNamespace
- Specified by:
isDefaultNamespacein interfaceNode
-
lookupNamespaceURI
- Specified by:
lookupNamespaceURIin interfaceNode
-
isEqualNode
- Specified by:
isEqualNodein interfaceNode
-
getFeature
- Specified by:
getFeaturein interfaceNode
-
setUserData
- Specified by:
setUserDatain interfaceNode
-
getUserData
- Specified by:
getUserDatain interfaceNode
-
getTagName
- Specified by:
getTagNamein interfaceElement
-
getAttribute
- Specified by:
getAttributein interfaceElement
-
setAttribute
- Specified by:
setAttributein interfaceElement- Throws:
DOMException
-
removeAttribute
- Specified by:
removeAttributein interfaceElement- Throws:
DOMException
-
getAttributeNode
- Specified by:
getAttributeNodein interfaceElement
-
setAttributeNode
- Specified by:
setAttributeNodein interfaceElement- Throws:
DOMException
-
removeAttributeNode
- Specified by:
removeAttributeNodein interfaceElement- Throws:
DOMException
-
getElementsByTagName
- Specified by:
getElementsByTagNamein interfaceElement
-
getAttributeNS
- Specified by:
getAttributeNSin interfaceElement- Throws:
DOMException
-
setAttributeNS
public void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException - Specified by:
setAttributeNSin interfaceElement- Throws:
DOMException
-
removeAttributeNS
- Specified by:
removeAttributeNSin interfaceElement- Throws:
DOMException
-
getAttributeNodeNS
- Specified by:
getAttributeNodeNSin interfaceElement- Throws:
DOMException
-
setAttributeNodeNS
- Specified by:
setAttributeNodeNSin interfaceElement- Throws:
DOMException
-
getElementsByTagNameNS
- Specified by:
getElementsByTagNameNSin interfaceElement- Throws:
DOMException
-
hasAttribute
- Specified by:
hasAttributein interfaceElement
-
hasAttributeNS
- Specified by:
hasAttributeNSin interfaceElement- Throws:
DOMException
-
getSchemaTypeInfo
- Specified by:
getSchemaTypeInfoin interfaceElement
-
setIdAttribute
- Specified by:
setIdAttributein interfaceElement- Throws:
DOMException
-
setIdAttributeNS
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException - Specified by:
setIdAttributeNSin interfaceElement- Throws:
DOMException
-
setIdAttributeNode
- Specified by:
setIdAttributeNodein interfaceElement- Throws:
DOMException
-
isBSP
public void isBSP(boolean flag) -
isBSP
public boolean isBSP()
-