Java Doc for SymmetricKeyBinding.java in  » 6.0-JDK-Modules-com.sun » xws-security » com » sun » xml » wss » impl » policy » mls » 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.impl.policy.mls 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.xml.wss.impl.policy.MLSPolicy
      com.sun.xml.wss.impl.policy.mls.WSSPolicy
         com.sun.xml.wss.impl.policy.mls.KeyBindingBase
            com.sun.xml.wss.impl.policy.mls.SymmetricKeyBinding

SymmetricKeyBinding
public class SymmetricKeyBinding extends KeyBindingBase (Code)
A policy representing a SymmetricKey that can be used as the KeyBinding for a SignaturePolicy or an EncryptionPolicy.


Field Summary
 String_certAlias
    
 String_keyAlgorithm
    
 String_keyIdentifier
    
 SecretKey_secretKey
    
 boolean_useReceivedSecret
    

Constructor Summary
public  SymmetricKeyBinding()
    
public  SymmetricKeyBinding(String keyIdentifier, String keyAlgorithm)
    

Method Summary
public  Objectclone()
    
public  booleanequals(WSSPolicy policy)
    
public  booleanequalsIgnoreTargets(WSSPolicy binding)
    
public  StringgetCertAlias()
    
public  StringgetKeyAlgorithm()
    
public  StringgetKeyIdentifier()
    
public  SecretKeygetSecretKey()
    
public  StringgetType()
    
public  booleangetUseReceivedSecret()
    
public  MLSPolicynewX509CertificateKeyBinding()
    
public  voidsetCertAlias(String certAlias)
    
public  voidsetKeyAlgorithm(String keyAlgorithm)
    
public  voidsetKeyIdentifier(String keyIdentifier)
    
public  voidsetSecretKey(SecretKey secretKey)
    
public  voidsetUseReceivedSecret(boolean useReceivedSecret)
    
public  StringtoString()
    

Field Detail
_certAlias
String _certAlias(Code)



_keyAlgorithm
String _keyAlgorithm(Code)



_keyIdentifier
String _keyIdentifier(Code)



_secretKey
SecretKey _secretKey(Code)



_useReceivedSecret
boolean _useReceivedSecret(Code)




Constructor Detail
SymmetricKeyBinding
public SymmetricKeyBinding()(Code)
Default constructor



SymmetricKeyBinding
public SymmetricKeyBinding(String keyIdentifier, String keyAlgorithm)(Code)

Parameters:
  keyIdentifier - identifier for Key
Parameters:
  keyAlgorithm - Key Algorithm




Method Detail
clone
public Object clone()(Code)
Clone operator clone of this policy



equals
public boolean equals(WSSPolicy policy)(Code)

Parameters:
  policy - the policy to be compared for equality true if the argument policy is equal to this



equalsIgnoreTargets
public boolean equalsIgnoreTargets(WSSPolicy binding)(Code)



getCertAlias
public String getCertAlias()(Code)



getKeyAlgorithm
public String getKeyAlgorithm()(Code)
keyAlgorithm for the Symmetric Key



getKeyIdentifier
public String getKeyIdentifier()(Code)
key identifier for the symmetric key



getSecretKey
public SecretKey getSecretKey()(Code)
SecretKey the symmetric key



getType
public String getType()(Code)
the type of the policy



getUseReceivedSecret
public boolean getUseReceivedSecret()(Code)



newX509CertificateKeyBinding
public MLSPolicy newX509CertificateKeyBinding()(Code)
Create and set the KeyBinding for this WSSPolicy to an X509CertificateBinding a new X509CertificateBinding as a KeyBinding for this WSSPolicy
See Also:   SignaturePolicy
See Also:   EncryptionPolicy
See Also:   AuthenticationTokenPolicy



setCertAlias
public void setCertAlias(String certAlias)(Code)



setKeyAlgorithm
public void setKeyAlgorithm(String keyAlgorithm)(Code)
set the Key Algorithm of the Symmetric Key
Parameters:
  keyAlgorithm -



setKeyIdentifier
public void setKeyIdentifier(String keyIdentifier)(Code)
set the key identifier for the symmetric key
Parameters:
  keyIdentifier -



setSecretKey
public void setSecretKey(SecretKey secretKey)(Code)
Set the symmetric key
Parameters:
  secretKey - the SecretKey



setUseReceivedSecret
public void setUseReceivedSecret(boolean useReceivedSecret)(Code)



toString
public String toString()(Code)



Fields inherited from com.sun.xml.wss.impl.policy.mls.KeyBindingBase
final public static String INCLUDE_ALWAYS(Code)(Java Doc)
final public static String INCLUDE_ALWAYS_TO_RECIPIENT(Code)(Java Doc)
final public static String INCLUDE_NEVER(Code)(Java Doc)
final public static String INCLUDE_ONCE(Code)(Java Doc)
protected String includeToken(Code)(Java Doc)
protected boolean policyToken(Code)(Java Doc)

Methods inherited from com.sun.xml.wss.impl.policy.mls.KeyBindingBase
public String getIncludeToken()(Code)(Java Doc)
public boolean policyTokenWasSet()(Code)(Java Doc)
public void setIncludeToken(String include)(Code)(Java Doc)
public void setPolicyTokenFlag(boolean flag)(Code)(Java Doc)

Fields inherited from com.sun.xml.wss.impl.policy.mls.WSSPolicy
protected String UUID(Code)(Java Doc)
protected MLSPolicy _featureBinding(Code)(Java Doc)
protected boolean _isOptional(Code)(Java Doc)
protected MLSPolicy _keyBinding(Code)(Java Doc)
protected String _policyIdentifier(Code)(Java Doc)
protected boolean bsp(Code)(Java Doc)

Methods inherited from com.sun.xml.wss.impl.policy.mls.WSSPolicy
abstract public Object clone()(Code)(Java Doc)
abstract public boolean equals(WSSPolicy policy)(Code)(Java Doc)
abstract public boolean equalsIgnoreTargets(WSSPolicy policy)(Code)(Java Doc)
public MLSPolicy getFeatureBinding()(Code)(Java Doc)
public MLSPolicy getKeyBinding()(Code)(Java Doc)
public String getPolicyIdentifier()(Code)(Java Doc)
public String getUUID()(Code)(Java Doc)
public void isBSP(boolean flag)(Code)(Java Doc)
public boolean isBSP()(Code)(Java Doc)
public boolean isOptional()(Code)(Java Doc)
public void isOptional(boolean isOptional)(Code)(Java Doc)
public void setFeatureBinding(MLSPolicy policy)(Code)(Java Doc)
public void setKeyBinding(MLSPolicy policy)(Code)(Java Doc)
public void setPolicyIdentifier(String pi)(Code)(Java Doc)
public void setUUID(String uuid)(Code)(Java Doc)

Fields inherited from com.sun.xml.wss.impl.policy.MLSPolicy
protected boolean readonly(Code)(Java Doc)

Methods inherited from com.sun.xml.wss.impl.policy.MLSPolicy
abstract public MLSPolicy getFeatureBinding() throws PolicyGenerationException(Code)(Java Doc)
abstract public MLSPolicy getKeyBinding() throws PolicyGenerationException(Code)(Java Doc)
public void isReadOnly(boolean readonly)(Code)(Java Doc)
public boolean isReadOnly()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w___ww_.___ja_va_2s.__c_om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.