|
|||||||||
| 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 java.lang.String |
getAlgorithmClassFromURI(java.lang.String algorithmURI)
Method getAlgorithmClassFromURI |
static java.lang.String |
getJCEKeyAlgorithmFromURI(java.lang.String algorithmURI)
Method getJCEKeyAlgorithmFromURI |
static int |
getKeyLengthFromURI(java.lang.String algorithmURI)
Returns the keylength in bits for a particular algorithm. |
static java.lang.String |
getProviderId()
Gets the default Provider for obtaining the security algorithms |
static void |
register(java.lang.String id,
JCEMapper.Algorithm algorithm)
Method register |
static void |
registerDefaultAlgorithms()
This method registers the default algorithms. |
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 |
| 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(java.lang.String id,
JCEMapper.Algorithm algorithm)
id - algorithm - public static void registerDefaultAlgorithms()
public 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||