|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xml.security.algorithms.JCEMapper
public class JCEMapper
This class maps algorithm identifier URIs to JAVA JCE class names.
Nested Class Summary | |
---|---|
static class |
JCEMapper.Algorithm
Represents the Algorithm xml element |
Constructor Summary | |
---|---|
JCEMapper()
|
Method Summary | |
---|---|
static String |
getAlgorithmClassFromURI(String algorithmURI)
Method getAlgorithmClassFromURI |
static int |
getIVLengthFromURI(String algorithmURI)
|
static String |
getJCEKeyAlgorithmFromURI(String algorithmURI)
Method getJCEKeyAlgorithmFromURI |
static String |
getJCEProviderFromURI(String algorithmURI)
Method getJCEProviderFromURI |
static int |
getKeyLengthFromURI(String algorithmURI)
Returns the keylength in bits for a particular algorithm. |
static String |
getProviderId()
Gets the default Provider for obtaining the security algorithms |
static void |
register(String id,
JCEMapper.Algorithm algorithm)
Method register |
static void |
registerDefaultAlgorithms()
This method registers the default algorithms. |
static void |
setProviderId(String provider)
Sets the default Provider for obtaining the security algorithms |
static String |
translateURItoJCEID(String algorithmURI)
Method translateURItoJCEID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCEMapper()
Method Detail |
---|
public static void register(String id, JCEMapper.Algorithm algorithm)
id
- algorithm
- public static void registerDefaultAlgorithms()
public static String translateURItoJCEID(String algorithmURI)
algorithmURI
-
public static String getAlgorithmClassFromURI(String algorithmURI)
algorithmURI
-
public static int getKeyLengthFromURI(String algorithmURI)
algorithmURI
-
public static int getIVLengthFromURI(String algorithmURI)
public static String getJCEKeyAlgorithmFromURI(String algorithmURI)
algorithmURI
-
public static String getJCEProviderFromURI(String algorithmURI)
algorithmURI
-
public static String getProviderId()
public static void setProviderId(String provider)
provider
- the default providerId.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |