Class JCEMapper
java.lang.Object
org.apache.xml.security.algorithms.JCEMapper
This class maps algorithm identifier URIs to JAVA JCE class names.
- Author:
- $Author$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the Algorithm xml element -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetAlgorithmClassFromURI(String AlgorithmURI) Method getAlgorithmClassFromURI NOTE(Raul Benito) It seems a buggy function the loop doesn't do anything??static StringgetJCEKeyAlgorithmFromURI(String AlgorithmURI) Method getJCEKeyAlgorithmFromURIstatic intgetKeyLengthFromURI(String AlgorithmURI) Returns the keylength in bit for a particular algorithm.static StringGets the default Provider for obtaining the security algorithmsstatic voidMethod initstatic voidsetProviderId(String provider) Sets the default Provider for obtaining the security algorithmsstatic StringtranslateURItoJCEID(String AlgorithmURI) Method translateURItoJCEID
-
Constructor Details
-
JCEMapper
public JCEMapper()
-
-
Method Details
-
init
-
translateURItoJCEID
-
getAlgorithmClassFromURI
-
getKeyLengthFromURI
Returns the keylength in bit for a particular algorithm.- Parameters:
AlgorithmURI-- Returns:
- The length of the key used in the alogrithm
-
getJCEKeyAlgorithmFromURI
-
getProviderId
Gets the default Provider for obtaining the security algorithms- Returns:
- the default providerId.
-
setProviderId
Sets the default Provider for obtaining the security algorithms- Parameters:
provider- the default providerId.
-