Package 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
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractConfigurableSecurityAssertion
configurationsFields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintintgetName()intgetXPath()org.apache.neethi.PolicyComponentvoidserialize(XMLStreamWriter writer) voidsetAlgorithmSuite(String algoSuite) Set the algorithm suitevoidsetAsymmetricKeyWrap(String asymmetricKeyWrap) voidvoidsetSoapNormalization(String soapNormalization) voidsetStrTransform(String strTransform) voidMethods inherited from class org.apache.ws.secpolicy.model.AbstractConfigurableSecurityAssertion
addConfiguration, getConfigurations, getDefaultAssertionMethods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
Constructor Details
-
AlgorithmSuite
public AlgorithmSuite(int version)
-
-
Method Details
-
setAlgorithmSuite
Set the algorithm suite- Parameters:
algoSuite- The algorithm suite- Throws:
WSSPolicyException- If an error occurred setting the AlgorithmSuite- See Also:
-
SPConstants.ALGO_SUITE_BASIC128SPConstants.ALGO_SUITE_BASIC128_RSA15SPConstants.ALGO_SUITE_BASIC128_SHA256SPConstants.ALGO_SUITE_BASIC128_SHA256_RSA15SPConstants.ALGO_SUITE_BASIC192SPConstants.ALGO_SUITE_BASIC192_RSA15SPConstants.ALGO_SUITE_BASIC192_SHA256SPConstants.ALGO_SUITE_BASIC192_SHA256_RSA15SPConstants.ALGO_SUITE_BASIC256SPConstants.ALGO_SUITE_BASIC256_RSA15SPConstants.ALGO_SUITE_BASIC256_SHA256SPConstants.ALGO_SUITE_BASIC256_SHA256_RSA15SPConstants.ALGO_SUITE_TRIPLE_DESSPConstants.ALGO_SUITE_TRIPLE_DES_RSA15SPConstants.ALGO_SUITE_TRIPLE_DES_SHA256SPConstants.ALGO_SUITE_TRIPLE_DES_SHA256_RSA15
-
getAsymmetricKeyWrap
- Returns:
- Returns the asymmetricKeyWrap.
-
getAsymmetricSignature
- Returns:
- Returns the asymmetricSignature.
-
getComputedKey
- Returns:
- Returns the computedKey.
-
getDigest
- Returns:
- Returns the digest.
-
getEncryption
- Returns:
- Returns the encryption.
-
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
- Returns:
- Returns the signatureKeyDerivation.
-
getSymmetricKeyWrap
- Returns:
- Returns the symmetricKeyWrap.
-
getSymmetricSignature
- Returns:
- Returns the symmetricSignature.
-
getInclusiveC14n
- Returns:
- Returns the c14n.
-
setC14n
- Parameters:
c14n- The c14n to set.
-
getSoapNormalization
- Returns:
- Returns the soapNormalization.
-
setSoapNormalization
- Parameters:
soapNormalization- The soapNormalization to set.
-
getStrTransform
- Returns:
- Returns the strTransform.
-
setStrTransform
- Parameters:
strTransform- The strTransform to set.
-
getXPath
- Returns:
- Returns the xPath.
-
setXPath
- Parameters:
path- The xPath to set.
-
getName
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalizein interfaceorg.apache.neethi.Assertion- Overrides:
normalizein classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-
getEncryptionDerivedKeyLength
public int getEncryptionDerivedKeyLength() -
getSignatureDerivedKeyLength
public int getSignatureDerivedKeyLength() -
setAsymmetricKeyWrap
-