Java Doc for EncryptedTypeHeaderBlock.java in  » 6.0-JDK-Modules-com.sun » xws-security » com » sun » xml » wss » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules com.sun » xws security » com.sun.xml.wss.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl
   com.sun.xml.wss.core.EncryptedTypeHeaderBlock

All known Subclasses:   com.sun.xml.wss.core.EncryptedDataHeaderBlock,  com.sun.xml.wss.core.EncryptedKeyHeaderBlock,
EncryptedTypeHeaderBlock
abstract public class EncryptedTypeHeaderBlock extends SecurityHeaderBlockImpl (Code)
Schema definition for an EncryptedType is as follows: <complexType name='EncryptedType' abstract='true'> <sequence> <element name='EncryptionMethod' type='xenc:EncryptionMethodType' minOccurs='0'/> <element ref='ds:KeyInfo' minOccurs='0'/> <element ref='xenc:CipherData'/> <element ref='xenc:EncryptionProperties' minOccurs='0'/> </sequence> <attribute name='Id' type='ID' use='optional'/> <attribute name='Type' type='anyURI' use='optional'/> <attribute name='MimeType' type='string' use='optional'/> <attribute name='Encoding' type='anyURI' use='optional'/> </complexType>
author:
   Vishal Mahajan


Field Summary
 SOAPElementcipherData
    
 SOAPElementencryptionMethod
    
 SOAPElementencryptionProperties
    
 KeyInfoHeaderBlockkeyInfo
    
final protected static  Loggerlog
    
 booleanupdateRequired
    


Method Summary
public  voidaddTransform(String algorithmURI)
    
public  SOAPElementgetCipherData(boolean create)
    
public  SOAPElementgetCipherReference(boolean create, String uri)
    
public  StringgetCipherValue()
    
public  StringgetEncoding()
    
public  SOAPElementgetEncryptionMethod()
    
public  StringgetEncryptionMethodURI()
    
public  SOAPElementgetEncryptionProperties()
    
public  StringgetId()
    
public  KeyInfoHeaderBlockgetKeyInfo()
    
public  StringgetMimeType()
    
public  IteratorgetTransforms()
    
public  StringgetType()
    
public  voidinitializeEncryptedType(SOAPElement element)
    
public  voidsaveChanges()
     This method should be called when changes are made inside an object through its reference obtained from any of the get methods of this class.
public  voidsetEncoding(String encoding)
    
public  voidsetEncryptionMethod(SOAPElement encryptionMethod)
    
public  voidsetEncryptionMethod(String algorithmURI)
    
public  voidsetEncryptionProperties(SOAPElement encryptionProperties)
    
public  voidsetId(String id)
    
public  voidsetKeyInfo(KeyInfoHeaderBlock keyInfo)
    
public  voidsetMimeType(String mimeType)
    
public  voidsetType(String type)
    

Field Detail
cipherData
SOAPElement cipherData(Code)



encryptionMethod
SOAPElement encryptionMethod(Code)



encryptionProperties
SOAPElement encryptionProperties(Code)



keyInfo
KeyInfoHeaderBlock keyInfo(Code)



log
final protected static Logger log(Code)



updateRequired
boolean updateRequired(Code)





Method Detail
addTransform
public void addTransform(String algorithmURI) throws XWSSecurityException(Code)



getCipherData
public SOAPElement getCipherData(boolean create) throws XWSSecurityException(Code)



getCipherReference
public SOAPElement getCipherReference(boolean create, String uri) throws XWSSecurityException(Code)



getCipherValue
public String getCipherValue() throws XWSSecurityException(Code)

throws:
  XWSSecurityException - If CipherData element is not present ORIf CipherValue element is not present inside CipherData.



getEncoding
public String getEncoding()(Code)
Returns null if Encoding attr is not present



getEncryptionMethod
public SOAPElement getEncryptionMethod()(Code)



getEncryptionMethodURI
public String getEncryptionMethodURI()(Code)
returns the algorithm URI



getEncryptionProperties
public SOAPElement getEncryptionProperties()(Code)



getId
public String getId()(Code)
Returns null if id attr is not present



getKeyInfo
public KeyInfoHeaderBlock getKeyInfo()(Code)



getMimeType
public String getMimeType()(Code)
Returns null if MimeType attr is not present



getTransforms
public Iterator getTransforms() throws XWSSecurityException(Code)



getType
public String getType()(Code)
Returns null if Type attr is not present



initializeEncryptedType
public void initializeEncryptedType(SOAPElement element) throws XWSSecurityException(Code)



saveChanges
public void saveChanges()(Code)
This method should be called when changes are made inside an object through its reference obtained from any of the get methods of this class. For example, if getKeyInfo() call is made and then changes are made inside the keyInfo, this method should be called to reflect changes in the EncryptedType.



setEncoding
public void setEncoding(String encoding)(Code)



setEncryptionMethod
public void setEncryptionMethod(SOAPElement encryptionMethod)(Code)



setEncryptionMethod
public void setEncryptionMethod(String algorithmURI) throws XWSSecurityException(Code)



setEncryptionProperties
public void setEncryptionProperties(SOAPElement encryptionProperties)(Code)



setId
public void setId(String id)(Code)



setKeyInfo
public void setKeyInfo(KeyInfoHeaderBlock keyInfo)(Code)



setMimeType
public void setMimeType(String mimeType)(Code)



setType
public void setType(String type)(Code)



Fields inherited from com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl
protected SOAPElement delegateElement(Code)(Java Doc)

Methods inherited from com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl
public SOAPElement addAttribute(Name arg0, String arg1) throws SOAPException(Code)(Java Doc)
public SOAPElement addChildElement(String arg0) throws SOAPException(Code)(Java Doc)
public SOAPElement addChildElement(String arg0, String arg1) throws SOAPException(Code)(Java Doc)
public SOAPElement addChildElement(String arg0, String arg1, String arg2) throws SOAPException(Code)(Java Doc)
public SOAPElement addChildElement(Name arg0) throws SOAPException(Code)(Java Doc)
public SOAPElement addChildElement(SOAPElement arg0) throws SOAPException(Code)(Java Doc)
public SOAPElement addNamespaceDeclaration(String arg0, String arg1) throws SOAPException(Code)(Java Doc)
public SOAPElement addTextNode(String arg0) throws SOAPException(Code)(Java Doc)
public Node appendChild(Node arg0) throws DOMException(Code)(Java Doc)
public Node cloneNode(boolean arg0)(Code)(Java Doc)
public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException(Code)(Java Doc)
public void detachNode()(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public static SecurityHeaderBlock fromSoapElement(SOAPElement element, Class implClass) throws XWSSecurityException(Code)(Java Doc)
public Iterator getAllAttributes()(Code)(Java Doc)
public Iterator getAllAttributesAsQNames()(Code)(Java Doc)
public SOAPElement getAsSoapElement() throws XWSSecurityException(Code)(Java Doc)
public String getAttribute(String arg0)(Code)(Java Doc)
public String getAttributeNS(String arg0, String arg1)(Code)(Java Doc)
public Attr getAttributeNode(String arg0)(Code)(Java Doc)
public Attr getAttributeNodeNS(String arg0, String arg1)(Code)(Java Doc)
public String getAttributeValue(Name arg0)(Code)(Java Doc)
public NamedNodeMap getAttributes()(Code)(Java Doc)
public String getBaseURI()(Code)(Java Doc)
public Iterator getChildElements()(Code)(Java Doc)
public Iterator getChildElements(Name arg0)(Code)(Java Doc)
public NodeList getChildNodes()(Code)(Java Doc)
public Name getElementName()(Code)(Java Doc)
public NodeList getElementsByTagName(String arg0)(Code)(Java Doc)
public NodeList getElementsByTagNameNS(String arg0, String arg1)(Code)(Java Doc)
public String getEncodingStyle()(Code)(Java Doc)
public Object getFeature(String feature, String version)(Code)(Java Doc)
public Node getFirstChild()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public Node getLastChild()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
public Iterator getNamespacePrefixes()(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public String getNamespaceURI(String arg0)(Code)(Java Doc)
public Node getNextSibling()(Code)(Java Doc)
public String getNodeName()(Code)(Java Doc)
public short getNodeType()(Code)(Java Doc)
public String getNodeValue() throws DOMException(Code)(Java Doc)
public Document getOwnerDocument()(Code)(Java Doc)
public SOAPElement getParentElement()(Code)(Java Doc)
public Node getParentNode()(Code)(Java Doc)
public String getPrefix()(Code)(Java Doc)
public Node getPreviousSibling()(Code)(Java Doc)
public TypeInfo getSchemaTypeInfo()(Code)(Java Doc)
protected static SOAPFactory getSoapFactory()(Code)(Java Doc)
public String getTagName()(Code)(Java Doc)
public String getTextContent() throws DOMException(Code)(Java Doc)
public Object getUserData(String key)(Code)(Java Doc)
public String getValue()(Code)(Java Doc)
public Iterator getVisibleNamespacePrefixes()(Code)(Java Doc)
public boolean hasAttribute(String arg0)(Code)(Java Doc)
public boolean hasAttributeNS(String arg0, String arg1)(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
public boolean hasChildNodes()(Code)(Java Doc)
public Node insertBefore(Node arg0, Node arg1) throws DOMException(Code)(Java Doc)
public void isBSP(boolean flag)(Code)(Java Doc)
public boolean isBSP()(Code)(Java Doc)
public boolean isDefaultNamespace(String namespaceURI)(Code)(Java Doc)
public boolean isEqualNode(org.w3c.dom.Node arg)(Code)(Java Doc)
public boolean isSameNode(org.w3c.dom.Node other)(Code)(Java Doc)
public boolean isSupported(String arg0, String arg1)(Code)(Java Doc)
public String lookupNamespaceURI(String prefix)(Code)(Java Doc)
public String lookupPrefix(String namespaceURI)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
public void recycleNode()(Code)(Java Doc)
public void removeAttribute(String arg0) throws DOMException(Code)(Java Doc)
public boolean removeAttribute(Name arg0)(Code)(Java Doc)
public void removeAttributeNS(String arg0, String arg1) throws DOMException(Code)(Java Doc)
public Attr removeAttributeNode(Attr arg0) throws DOMException(Code)(Java Doc)
public Node removeChild(Node arg0) throws DOMException(Code)(Java Doc)
public void removeContents()(Code)(Java Doc)
public boolean removeNamespaceDeclaration(String arg0)(Code)(Java Doc)
public Node replaceChild(Node arg0, Node arg1) throws DOMException(Code)(Java Doc)
public void setAttribute(String arg0, String arg1) throws DOMException(Code)(Java Doc)
public void setAttributeNS(String arg0, String arg1, String arg2) throws DOMException(Code)(Java Doc)
public Attr setAttributeNode(Attr arg0) throws DOMException(Code)(Java Doc)
public Attr setAttributeNodeNS(Attr arg0) throws DOMException(Code)(Java Doc)
public void setEncodingStyle(String arg0) throws SOAPException(Code)(Java Doc)
public void setIdAttribute(String name, boolean isId) throws DOMException(Code)(Java Doc)
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException(Code)(Java Doc)
public void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException(Code)(Java Doc)
public void setNodeValue(String arg0) throws DOMException(Code)(Java Doc)
public void setParentElement(SOAPElement arg0) throws SOAPException(Code)(Java Doc)
public void setPrefix(String arg0) throws DOMException(Code)(Java Doc)
protected void setSOAPElement(SOAPElement delegateElement)(Code)(Java Doc)
public void setTextContent(String textContent) throws DOMException(Code)(Java Doc)
public Object setUserData(String key, Object data, UserDataHandler handler)(Code)(Java Doc)
public void setValue(String arg0)(Code)(Java Doc)
protected void setWsuIdAttr(Element element, String wsuId)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.