public class JCEMapper
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JCEMapper.Algorithm
Represents the Algorithm xml element
|
| Constructor and Description |
|---|
JCEMapper() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getAlgorithmClassFromURI(java.lang.String AlgorithmURI)
Method getAlgorithmClassFromURI
NOTE(Raul Benito) It seems a buggy function the loop doesn't do
anything??
|
static java.lang.String |
getJCEKeyAlgorithmFromURI(java.lang.String AlgorithmURI)
Method getJCEKeyAlgorithmFromURI
|
static int |
getKeyLengthFromURI(java.lang.String AlgorithmURI)
Returns the keylength in bit for a particular algorithm.
|
static java.lang.String |
getProviderId()
Gets the default Provider for obtaining the security algorithms
|
static void |
init(org.w3c.dom.Element mappingElement)
Method init
|
static void |
setProviderId(java.lang.String provider)
Sets the default Provider for obtaining the security algorithms
|
static java.lang.String |
translateURItoJCEID(java.lang.String AlgorithmURI)
Method translateURItoJCEID
|
public static void init(org.w3c.dom.Element mappingElement)
throws java.lang.Exception
mappingElement - java.lang.Exceptionpublic static java.lang.String translateURItoJCEID(java.lang.String AlgorithmURI)
AlgorithmURI - public static java.lang.String getAlgorithmClassFromURI(java.lang.String AlgorithmURI)
AlgorithmURI - public static int getKeyLengthFromURI(java.lang.String AlgorithmURI)
AlgorithmURI - public static java.lang.String getJCEKeyAlgorithmFromURI(java.lang.String AlgorithmURI)
AlgorithmURI - public static java.lang.String getProviderId()
public static void setProviderId(java.lang.String provider)
provider - the default providerId.