org.apache.ws.security.components.crypto
Class AlgorithmSuite

java.lang.Object
  extended by org.apache.ws.security.components.crypto.AlgorithmSuite

public class AlgorithmSuite
extends Object

This class holds the permitted values for encryption/signature/etc. algorithms on the inbound side. If the corresponding value is not null then the received algorithm must match the appropriate algorithm stored in this class.


Constructor Summary
AlgorithmSuite()
           
 
Method Summary
 void addC14nAlgorithm(String c14nAlgorithm)
           
 void addDerivedKeyAlgorithm(String derivedKeyAlgorithm)
           
 void addDigestAlgorithm(String digestAlgorithm)
           
 void addEncryptionMethod(String encryptionMethod)
           
 void addKeyWrapAlgorithm(String keyWrapAlgorithm)
           
 void addSignatureMethod(String signatureMethod)
           
 void addTransformAlgorithm(String transformAlgorithm)
           
 Set<String> getC14nAlgorithms()
           
 Set<String> getDerivedKeyAlgorithms()
           
 Set<String> getDigestAlgorithms()
           
 int getEncryptionDerivedKeyLength()
           
 Set<String> getEncryptionMethods()
           
 Set<String> getKeyWrapAlgorithms()
           
 int getMaximumAsymmetricKeyLength()
           
 int getMaximumSymmetricKeyLength()
           
 int getMinimumAsymmetricKeyLength()
           
 int getMinimumSymmetricKeyLength()
           
 int getSignatureDerivedKeyLength()
           
 Set<String> getSignatureMethods()
           
 Set<String> getTransformAlgorithms()
           
 void setEncryptionDerivedKeyLength(int encryptionDerivedKeyLength)
           
 void setMaximumAsymmetricKeyLength(int maximumAsymmetricKeyLength)
           
 void setMaximumSymmetricKeyLength(int maximumSymmetricKeyLength)
           
 void setMinimumAsymmetricKeyLength(int minimumAsymmetricKeyLength)
           
 void setMinimumSymmetricKeyLength(int minimumSymmetricKeyLength)
           
 void setSignatureDerivedKeyLength(int signatureDerivedKeyLength)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmSuite

public AlgorithmSuite()
Method Detail

addSignatureMethod

public void addSignatureMethod(String signatureMethod)

getSignatureMethods

public Set<String> getSignatureMethods()

addC14nAlgorithm

public void addC14nAlgorithm(String c14nAlgorithm)

getC14nAlgorithms

public Set<String> getC14nAlgorithms()

addDigestAlgorithm

public void addDigestAlgorithm(String digestAlgorithm)

getDigestAlgorithms

public Set<String> getDigestAlgorithms()

addTransformAlgorithm

public void addTransformAlgorithm(String transformAlgorithm)

getTransformAlgorithms

public Set<String> getTransformAlgorithms()

addEncryptionMethod

public void addEncryptionMethod(String encryptionMethod)

getEncryptionMethods

public Set<String> getEncryptionMethods()

addKeyWrapAlgorithm

public void addKeyWrapAlgorithm(String keyWrapAlgorithm)

getKeyWrapAlgorithms

public Set<String> getKeyWrapAlgorithms()

addDerivedKeyAlgorithm

public void addDerivedKeyAlgorithm(String derivedKeyAlgorithm)

getDerivedKeyAlgorithms

public Set<String> getDerivedKeyAlgorithms()

getMaximumSymmetricKeyLength

public int getMaximumSymmetricKeyLength()

setMaximumSymmetricKeyLength

public void setMaximumSymmetricKeyLength(int maximumSymmetricKeyLength)

getMinimumAsymmetricKeyLength

public int getMinimumAsymmetricKeyLength()

setMinimumAsymmetricKeyLength

public void setMinimumAsymmetricKeyLength(int minimumAsymmetricKeyLength)

getMaximumAsymmetricKeyLength

public int getMaximumAsymmetricKeyLength()

setMaximumAsymmetricKeyLength

public void setMaximumAsymmetricKeyLength(int maximumAsymmetricKeyLength)

getEncryptionDerivedKeyLength

public int getEncryptionDerivedKeyLength()

setEncryptionDerivedKeyLength

public void setEncryptionDerivedKeyLength(int encryptionDerivedKeyLength)

getSignatureDerivedKeyLength

public int getSignatureDerivedKeyLength()

setSignatureDerivedKeyLength

public void setSignatureDerivedKeyLength(int signatureDerivedKeyLength)

getMinimumSymmetricKeyLength

public int getMinimumSymmetricKeyLength()

setMinimumSymmetricKeyLength

public void setMinimumSymmetricKeyLength(int minimumSymmetricKeyLength)


Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.