| Modifier and Type | Class and Description |
|---|---|
| public static class | JCEMapper.
Represents the Algorithm xml element |
| Modifier and Type | Field and Description |
|---|---|
| private static Map | |
| private static String | |
| private static final Logger | |
| private static final ThreadLocal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static JCEMapper. | Returns: The Algorithm object for the given URI.Method getAlgorithm |
| public static String | Returns: the class name that implements this algorithmMethod getAlgorithmClassFromURI |
| public static int | |
| public static String | Returns: The KeyAlgorithm for the given URI.Method getJCEKeyAlgorithmFromURI |
| public static String | Returns: The JCEProvider for the given URI.Method getJCEProviderFromURI |
| public static int | Returns: The length of the key used in the algorithmReturns the keylength in bits for a particular algorithm. |
| public static String | Returns: the default providerId.Gets the default Provider for obtaining the security algorithms |
| public static void | |
| public static void | |
| public static void | setProviderId(String
the default providerId. provider)Sets the default Provider for obtaining the security algorithms |
| public static void | setThreadSpecificProviderName(String
the default providerId. threadSpecificProviderName)Sets the default Provider for this thread to obtain the security algorithms |
| public static String | Returns: the JCE standard name corresponding to the given URIMethod translateURItoJCEID |
| algorithmsMap | back to summary |
|---|---|
| private static Map<String, JCEMapper. | |
| globalProviderName | back to summary |
|---|---|
| private static String globalProviderName | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| threadSpecificProviderName | back to summary |
|---|---|
| private static final ThreadLocal<String> threadSpecificProviderName | |
| JCEMapper | back to summary |
|---|---|
| public JCEMapper() | |
| getAlgorithm | back to summary |
|---|---|
| private static JCEMapper. Method getAlgorithm | |
| getAlgorithmClassFromURI | back to summary |
|---|---|
| public static String getAlgorithmClassFromURI(String algorithmURI) Method getAlgorithmClassFromURI
| |
| getIVLengthFromURI | back to summary |
|---|---|
| public static int getIVLengthFromURI(String algorithmURI) | |
| getJCEKeyAlgorithmFromURI | back to summary |
|---|---|
| public static String getJCEKeyAlgorithmFromURI(String algorithmURI) Method getJCEKeyAlgorithmFromURI
| |
| getJCEProviderFromURI | back to summary |
|---|---|
| public static String getJCEProviderFromURI(String algorithmURI) Method getJCEProviderFromURI
| |
| getKeyLengthFromURI | back to summary |
|---|---|
| public static int getKeyLengthFromURI(String algorithmURI) Returns the keylength in bits for a particular algorithm.
| |
| getProviderId | back to summary |
|---|---|
| public static String getProviderId() Gets the default Provider for obtaining the security algorithms
| |
| register | back to summary |
|---|---|
| public static void register(String id, JCEMapper. Method register
| |
| registerDefaultAlgorithms | back to summary |
|---|---|
| public static void registerDefaultAlgorithms() This method registers the default algorithms. | |
| setProviderId | back to summary |
|---|---|
| public static void setProviderId(String provider) Sets the default Provider for obtaining the security algorithms
| |
| setThreadSpecificProviderName | back to summary |
|---|---|
| public static void setThreadSpecificProviderName(String threadSpecificProviderName) Sets the default Provider for this thread to obtain the security algorithms
| |
| translateURItoJCEID | back to summary |
|---|---|
| public static String translateURItoJCEID(String algorithmURI) Method translateURItoJCEID
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| pack-priv final int | |
| pack-priv final String | |
| pack-priv final String | |
| pack-priv final int | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public |
| algorithmClass | back to summary |
|---|---|
| pack-priv final String algorithmClass | |
| ivLength | back to summary |
|---|---|
| pack-priv final int ivLength | |
| jceName | back to summary |
|---|---|
| pack-priv final String jceName | |
| jceProvider | back to summary |
|---|---|
| pack-priv final String jceProvider | |
| keyLength | back to summary |
|---|---|
| pack-priv final int keyLength | |
| requiredKey | back to summary |
|---|---|
| pack-priv final String requiredKey | |
| Algorithm | back to summary |
|---|---|
| public Algorithm(Element el) Gets data from element | |
| Algorithm | back to summary |
|---|---|
| public Algorithm(String requiredKey, String jceName) | |
| Algorithm | back to summary |
|---|---|
| public Algorithm(String requiredKey, String jceName, String algorithmClass) | |
| Algorithm | back to summary |
|---|---|
| public Algorithm(String requiredKey, String jceName, int keyLength) | |
| Algorithm | back to summary |
|---|---|
| public Algorithm(String requiredKey, String jceName, String algorithmClass, int keyLength, int ivLength) | |
| Algorithm | back to summary |
|---|---|
| public Algorithm(String requiredKey, String jceName, String algorithmClass, int keyLength, int ivLength, String jceProvider) | |