com.sun.xml.ws.security.impl.policy
Class AlgorithmSuite

java.lang.Object
  extended by com.sun.xml.ws.policy.PolicyAssertion
      extended by com.sun.xml.ws.security.impl.policy.AlgorithmSuite
All Implemented Interfaces:
AlgorithmSuite, SecurityAssertionValidator

public class AlgorithmSuite
extends com.sun.xml.ws.policy.PolicyAssertion
implements AlgorithmSuite, SecurityAssertionValidator


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator
SecurityAssertionValidator.AssertionFitness
 
Field Summary
 
Fields inherited from interface com.sun.xml.ws.security.policy.AlgorithmSuite
INCLUSIVE14N, MAX_AKL, MAX_SKL, MIN_AKL, SOAP_NORMALIZATION10, STR_TRANSFORM10, XPATH_FILTER20, XPATH10
 
Constructor Summary
AlgorithmSuite()
          Creates a new instance of AlgorithmSuite
AlgorithmSuite(com.sun.xml.ws.policy.sourcemodel.AssertionData name, java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)
           
 
Method Summary
 java.util.Set getAdditionalProps()
          Property set containing INCLUSIVE14N,SOAP_NORMALIZATION10,STR_TRANSFORM10,XPATH10,XPATH_FILTER20
 java.lang.String getAsymmetricKeyAlgorithm()
          Get the Assymetric key algorithm
 java.lang.String getAsymmetricKeySignatureAlgorithm()
          Gets the Asymmetric key signature algorithm
 java.lang.String getComputedKeyAlgorithm()
           
 java.lang.String getDigestAlgorithm()
          Gets the Digest algorithm identified by this AlgorithmSuite.
 java.lang.String getEncryptionAlgorithm()
          Gets the Encryption algorithm
 java.lang.String getEncryptionKDAlogrithm()
          Gets the Encryprion key derivation algorithm
 int getMaxAsymmetricKeyLength()
           
 int getMaxSymmetricKeyLength()
           
 int getMinAsymmetricKeyLength()
           
 int getMinSKLAlgorithm()
          Gets minimum key length for symmetric key algorithm.
 java.lang.String getSignatureKDAlogrithm()
          Gets the Signature key derivation algorithm
 java.lang.String getSymmetricKeyAlgorithm()
          Gets the Symmetric Key algorithm
 java.lang.String getSymmetricKeySignatureAlgorithm()
          Gets the Symmetric key signature algorithm
 AlgorithmSuiteValue getType()
          returns the Algorithm suite to be used.
 void setAdditionalProps(java.util.Set properties)
           
 void setType(AlgorithmSuiteValue value)
           
 SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
          returns true if all the assertions embeeded under a SecurityPolicy assertion are valid and supported by the implementation.
 
Methods inherited from class com.sun.xml.ws.policy.PolicyAssertion
equals, getAttributes, getAttributesSet, getAttributeValue, getName, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlgorithmSuite

public AlgorithmSuite()
Creates a new instance of AlgorithmSuite


AlgorithmSuite

public AlgorithmSuite(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
                      java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
                      com.sun.xml.ws.policy.AssertionSet nestedAlternative)
Method Detail

getAdditionalProps

public java.util.Set getAdditionalProps()
Description copied from interface: AlgorithmSuite
Property set containing INCLUSIVE14N,SOAP_NORMALIZATION10,STR_TRANSFORM10,XPATH10,XPATH_FILTER20

Specified by:
getAdditionalProps in interface AlgorithmSuite
Returns:
list identifying the properties

setAdditionalProps

public void setAdditionalProps(java.util.Set properties)

setType

public void setType(AlgorithmSuiteValue value)

getType

public AlgorithmSuiteValue getType()
Description copied from interface: AlgorithmSuite
returns the Algorithm suite to be used.

Specified by:
getType in interface AlgorithmSuite
Returns:
AlgorithmSuiteValue

getDigestAlgorithm

public java.lang.String getDigestAlgorithm()
Description copied from interface: AlgorithmSuite
Gets the Digest algorithm identified by this AlgorithmSuite.

Specified by:
getDigestAlgorithm in interface AlgorithmSuite
Returns:

getEncryptionAlgorithm

public java.lang.String getEncryptionAlgorithm()
Description copied from interface: AlgorithmSuite
Gets the Encryption algorithm

Specified by:
getEncryptionAlgorithm in interface AlgorithmSuite
Returns:

getSymmetricKeyAlgorithm

public java.lang.String getSymmetricKeyAlgorithm()
Description copied from interface: AlgorithmSuite
Gets the Symmetric Key algorithm

Specified by:
getSymmetricKeyAlgorithm in interface AlgorithmSuite
Returns:

getAsymmetricKeyAlgorithm

public java.lang.String getAsymmetricKeyAlgorithm()
Description copied from interface: AlgorithmSuite
Get the Assymetric key algorithm

Specified by:
getAsymmetricKeyAlgorithm in interface AlgorithmSuite
Returns:

getSignatureKDAlogrithm

public java.lang.String getSignatureKDAlogrithm()
Description copied from interface: AlgorithmSuite
Gets the Signature key derivation algorithm

Specified by:
getSignatureKDAlogrithm in interface AlgorithmSuite
Returns:

getEncryptionKDAlogrithm

public java.lang.String getEncryptionKDAlogrithm()
Description copied from interface: AlgorithmSuite
Gets the Encryprion key derivation algorithm

Specified by:
getEncryptionKDAlogrithm in interface AlgorithmSuite
Returns:

getMinSKLAlgorithm

public int getMinSKLAlgorithm()
Description copied from interface: AlgorithmSuite
Gets minimum key length for symmetric key algorithm.

Specified by:
getMinSKLAlgorithm in interface AlgorithmSuite
Returns:

getSymmetricKeySignatureAlgorithm

public java.lang.String getSymmetricKeySignatureAlgorithm()
Description copied from interface: AlgorithmSuite
Gets the Symmetric key signature algorithm

Specified by:
getSymmetricKeySignatureAlgorithm in interface AlgorithmSuite
Returns:

getAsymmetricKeySignatureAlgorithm

public java.lang.String getAsymmetricKeySignatureAlgorithm()
Description copied from interface: AlgorithmSuite
Gets the Asymmetric key signature algorithm

Specified by:
getAsymmetricKeySignatureAlgorithm in interface AlgorithmSuite
Returns:

getComputedKeyAlgorithm

public java.lang.String getComputedKeyAlgorithm()
Specified by:
getComputedKeyAlgorithm in interface AlgorithmSuite

getMaxSymmetricKeyLength

public int getMaxSymmetricKeyLength()
Specified by:
getMaxSymmetricKeyLength in interface AlgorithmSuite

getMinAsymmetricKeyLength

public int getMinAsymmetricKeyLength()
Specified by:
getMinAsymmetricKeyLength in interface AlgorithmSuite

getMaxAsymmetricKeyLength

public int getMaxAsymmetricKeyLength()
Specified by:
getMaxAsymmetricKeyLength in interface AlgorithmSuite

validate

public SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
Description copied from interface: SecurityAssertionValidator
returns true if all the assertions embeeded under a SecurityPolicy assertion are valid and supported by the implementation.

Specified by:
validate in interface SecurityAssertionValidator