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
configurations
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
getName()
int
getXPath()
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
setAlgorithmSuite
(String algoSuite) Set the algorithm suitevoid
setAsymmetricKeyWrap
(String asymmetricKeyWrap) void
void
setSoapNormalization
(String soapNormalization) void
setStrTransform
(String strTransform) void
Methods inherited from class org.apache.ws.secpolicy.model.AbstractConfigurableSecurityAssertion
addConfiguration, getConfigurations, getDefaultAssertion
Methods 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_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
-
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:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-
getEncryptionDerivedKeyLength
public int getEncryptionDerivedKeyLength() -
getSignatureDerivedKeyLength
public int getSignatureDerivedKeyLength() -
setAsymmetricKeyWrap
-