Apache CXF API

org.apache.cxf.ws.security.policy.model
Class AlgorithmSuite

java.lang.Object
  extended by org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
      extended by org.apache.cxf.ws.security.policy.model.AlgorithmSuite
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class AlgorithmSuite
extends AbstractSecurityAssertion


Field Summary
protected  String algoSuiteString
           
protected  String asymmetricKeyWrap
           
protected  String asymmetricSignature
           
protected  String c14n
           
protected  String computedKey
           
protected  String digest
           
protected  String encryption
           
protected  int encryptionDerivedKeyLength
           
protected  String encryptionKeyDerivation
           
protected  int maximumAsymmetricKeyLength
           
protected  int maximumSymmetricKeyLength
           
protected  int minimumAsymmetricKeyLength
           
protected  int minimumSymmetricKeyLength
           
protected  int signatureDerivedKeyLength
           
protected  String signatureKeyDerivation
           
protected  String soapNormalization
           
protected  String strTransform
           
protected  String symmetricKeyWrap
           
protected  String symmetricSignature
           
protected  String xPath
           
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
constants
 
Constructor Summary
AlgorithmSuite()
           
AlgorithmSuite(SPConstants version)
           
 
Method Summary
 String getAsymmetricKeyWrap()
           
 String getAsymmetricSignature()
           
 String getComputedKey()
           
 String getDigest()
           
 String getEncryption()
           
 int getEncryptionDerivedKeyLength()
           
 String getEncryptionKeyDerivation()
           
 String getInclusiveC14n()
           
 int getMaximumAsymmetricKeyLength()
           
 int getMaximumSymmetricKeyLength()
           
 int getMinimumAsymmetricKeyLength()
           
 int getMinimumSymmetricKeyLength()
           
 QName getName()
           
 QName getRealName()
           
 int getSignatureDerivedKeyLength()
           
 String getSignatureKeyDerivation()
           
 String getSoapNormalization()
           
 String getStrTransform()
           
 String getSymmetricKeyWrap()
           
 String getSymmetricSignature()
           
 String getXPath()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setAlgorithmSuite(String algoSuite)
          Set the algorithm suite
 void setAsymmetricKeyWrap(String asymmetricKeyWrap)
           
 void setC14n(String c14n)
           
 void setSoapNormalization(String soapNormalization)
           
 void setStrTransform(String strTransform)
           
 void setXPath(String path)
           
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
equal, getSPConstants, getType, isIgnorable, isNormalized, isOptional, normalize, setIgnorable, setNormalized, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

algoSuiteString

protected String algoSuiteString

symmetricSignature

protected String symmetricSignature

asymmetricSignature

protected String asymmetricSignature

computedKey

protected String computedKey

maximumSymmetricKeyLength

protected int maximumSymmetricKeyLength

minimumAsymmetricKeyLength

protected int minimumAsymmetricKeyLength

maximumAsymmetricKeyLength

protected int maximumAsymmetricKeyLength

digest

protected String digest

encryption

protected String encryption

symmetricKeyWrap

protected String symmetricKeyWrap

asymmetricKeyWrap

protected String asymmetricKeyWrap

encryptionKeyDerivation

protected String encryptionKeyDerivation

encryptionDerivedKeyLength

protected int encryptionDerivedKeyLength

signatureKeyDerivation

protected String signatureKeyDerivation

signatureDerivedKeyLength

protected int signatureDerivedKeyLength

minimumSymmetricKeyLength

protected int minimumSymmetricKeyLength

c14n

protected String c14n

soapNormalization

protected String soapNormalization

strTransform

protected String strTransform

xPath

protected String xPath
Constructor Detail

AlgorithmSuite

public AlgorithmSuite(SPConstants version)

AlgorithmSuite

public AlgorithmSuite()
Method Detail

getAsymmetricKeyWrap

public String getAsymmetricKeyWrap()
Returns:
Returns the asymmetricKeyWrap.

getAsymmetricSignature

public String getAsymmetricSignature()
Returns:
Returns the asymmetricSignature.

getComputedKey

public String getComputedKey()
Returns:
Returns the computedKey.

getDigest

public String getDigest()
Returns:
Returns the digest.

getEncryption

public String getEncryption()
Returns:
Returns the encryption.

getEncryptionKeyDerivation

public String getEncryptionKeyDerivation()
Returns:
Returns the encryptionKeyDerivation.

getMaximumAsymmetricKeyLength

public int getMaximumAsymmetricKeyLength()
Returns:
Returns the maximumAsymmetricKeyLength.

getMaximumSymmetricKeyLength

public int getMaximumSymmetricKeyLength()
Returns:
Returns the maximumSymmetricKeyLength.

getMinimumAsymmetricKeyLength

public int getMinimumAsymmetricKeyLength()
Returns:
Returns the minimumAsymmetricKeyLength.

getMinimumSymmetricKeyLength

public int getMinimumSymmetricKeyLength()
Returns:
Returns the minimumSymmetricKeyLength.

getSignatureKeyDerivation

public String getSignatureKeyDerivation()
Returns:
Returns the signatureKeyDerivation.

getSymmetricKeyWrap

public String getSymmetricKeyWrap()
Returns:
Returns the symmetricKeyWrap.

getSymmetricSignature

public String getSymmetricSignature()
Returns:
Returns the symmetricSignature.

getInclusiveC14n

public String getInclusiveC14n()
Returns:
Returns the c14n.

setC14n

public void setC14n(String c14n)
Parameters:
c14n - The c14n to set.

getSoapNormalization

public String getSoapNormalization()
Returns:
Returns the soapNormalization.

setSoapNormalization

public void setSoapNormalization(String soapNormalization)
Parameters:
soapNormalization - The soapNormalization to set.

getStrTransform

public String getStrTransform()
Returns:
Returns the strTransform.

setStrTransform

public void setStrTransform(String strTransform)
Parameters:
strTransform - The strTransform to set.

getXPath

public String getXPath()
Returns:
Returns the xPath.

setXPath

public void setXPath(String path)
Parameters:
path - The xPath to set.

getName

public QName getName()

getRealName

public QName getRealName()

serialize

public void serialize(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

getEncryptionDerivedKeyLength

public int getEncryptionDerivedKeyLength()

getSignatureDerivedKeyLength

public int getSignatureDerivedKeyLength()

setAsymmetricKeyWrap

public void setAsymmetricKeyWrap(String asymmetricKeyWrap)

setAlgorithmSuite

public void setAlgorithmSuite(String algoSuite)
                       throws WSSPolicyException
Set the algorithm suite

Parameters:
algoSuite -
Throws:
WSSPolicyException
See Also:
SPConstants.ALGO_SUITE_BASIC128, SPConstants.ALGO_SUITE_BASIC128_RSA15, SPConstants.ALGO_SUITE_BASIC128_SHA256, SPConstants.ALGO_SUITE_BASIC128_SHA256_RSA15, SPConstants.ALGO_SUITE_BASIC192, SPConstants.ALGO_SUITE_BASIC192_RSA15, SPConstants.ALGO_SUITE_BASIC192_SHA256, SPConstants.ALGO_SUITE_BASIC192_SHA256_RSA15, SPConstants.ALGO_SUITE_BASIC256, SPConstants.ALGO_SUITE_BASIC256_RSA15, SPConstants.ALGO_SUITE_BASIC256_SHA256, SPConstants.ALGO_SUITE_BASIC256_SHA256_RSA15, SPConstants.ALGO_SUITE_TRIPLE_DES, SPConstants.ALGO_SUITE_TRIPLE_DES_RSA15, SPConstants.ALGO_SUITE_TRIPLE_DES_SHA256, SPConstants.ALGO_SUITE_TRIPLE_DES_SHA256_RSA15

Apache CXF API

Apache CXF