org.apache.ws.secpolicy.model
Class AlgorithmSuite
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.AbstractConfigurableSecurityAssertion
org.apache.ws.secpolicy.model.AlgorithmSuite
- All Implemented Interfaces:
- org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent
- public class AlgorithmSuite
- extends AbstractConfigurableSecurityAssertion
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlgorithmSuite
public AlgorithmSuite()
setAlgorithmSuite
public void setAlgorithmSuite(String algoSuite)
- Set the algorithm suite
- Parameters:
algoSuite
-
- Throws:
WSSPolicyException
- See Also:
Constants.ALGO_SUITE_BASIC128
,
Constants.ALGO_SUITE_BASIC128_RSA15
,
Constants.ALGO_SUITE_BASIC128_SHA256
,
Constants.ALGO_SUITE_BASIC128_SHA256_RSA15
,
Constants.ALGO_SUITE_BASIC192
,
Constants.ALGO_SUITE_BASIC192_RSA15
,
Constants.ALGO_SUITE_BASIC192_SHA256
,
Constants.ALGO_SUITE_BASIC192_SHA256_RSA15
,
Constants.ALGO_SUITE_BASIC256
,
Constants.ALGO_SUITE_BASIC256_RSA15
,
Constants.ALGO_SUITE_BASIC256_SHA256
,
Constants.ALGO_SUITE_BASIC256_SHA256_RSA15
,
Constants.ALGO_SUITE_TRIPLE_DES
,
Constants.ALGO_SUITE_TRIPLE_DES_RSA15
,
Constants.ALGO_SUITE_TRIPLE_DES_SHA256
,
Constants.ALGO_SUITE_TRIPLE_DES_SHA256_RSA15
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()
normalize
public org.apache.neethi.PolicyComponent normalize()
- Specified by:
normalize
in interface org.apache.neethi.Assertion
- Overrides:
normalize
in class AbstractSecurityAssertion
serialize
public void serialize(XMLStreamWriter writer)
throws XMLStreamException
- Throws:
XMLStreamException