|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object codec.util.Engines
public class Engines
This class provides the standard JCA/JCE engine name associations. The names defined in the JCA and JCE specification documents can be retrieved by engine as well as the engine names themselves. This class is primarily informative but can be used to check the definitions of providers for adherence of Sun's naming scheme.
The algorithm names, in particular the ciphers, are extended by some algorithm names not defined in the original documents but whose algorithms are implemented by multiple providers in a way suggesting uniform understanding on the name. Examples are RC2 and RC5.
Field Summary | |
---|---|
protected static String[] |
algorithmParameterGenerator_
The names of the AlgorithmParameterGenerator instances. |
protected static String[] |
algorithmParameters_
The names of the AlgorithmParameters instances. |
protected static String[] |
certificateFactory_
The names of the CertificateFactory instances. |
protected static String[] |
cipher_
The names of Cipher instances. |
protected static String[] |
engines_
The names of the standard engines. |
protected static String[] |
keyAgreement_
The names of the KeyAgreement instances. |
protected static String[] |
keyFactory_
|
protected static String[] |
keyGenerator_
The names of the KeyGenerator instances. |
protected static String[] |
keyPairGenerator_
The names of the KeyPairGenerator instances. |
protected static String[] |
keyStore_
The names of the KeyStore instances. |
protected static String[] |
mac_
The names of the Mac instances. |
protected static Map |
map_
The well-known standardised engine names. |
protected static String[] |
messageDigest_
The names of the MessageDigest instances. |
protected static String[] |
mode_
The names of the cipher operation modes. |
protected static String[] |
padding_
The names of the padding algorithms. |
protected static String[] |
secretKeyFactory_
The names of the KeyGenerator instances. |
protected static String[] |
secureRandom_
The names of the SecureRandom instances. |
protected static String[] |
signature_
The names of the Signature instances. |
Constructor Summary | |
---|---|
private |
Engines()
No-one may instantiate this class. |
Method Summary | |
---|---|
static List |
getEngineNames()
Returns a list of the valid engine names defined in the JCA and JCE in no particular order. |
static List |
getEngineNames(Provider p,
String engine)
Returns the list of names of the engines of the given type that are declared by the given provider. |
static List |
getStdNames(String engine)
Retrieves the standard names defined in the JCE and JCA for the given engine type. |
protected static Map |
initEngines()
Initialises the names of the JCE/JCA engines. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static String[] cipher_
protected static String[] keyGenerator_
protected static String[] keyPairGenerator_
protected static String[] keyAgreement_
protected static String[] secretKeyFactory_
protected static String[] keyFactory_
protected static String[] algorithmParameters_
protected static String[] algorithmParameterGenerator_
protected static String[] mac_
protected static String[] keyStore_
protected static String[] messageDigest_
protected static String[] signature_
protected static String[] secureRandom_
protected static String[] certificateFactory_
protected static String[] mode_
protected static String[] padding_
protected static String[] engines_
protected static Map map_
Constructor Detail |
---|
private Engines()
Method Detail |
---|
protected static Map initEngines()
public static List getStdNames(String engine)
engine
- The name of the engine type
of which the standard names should be returned.
public static List getEngineNames()
public static List getEngineNames(Provider p, String engine)
p
- The provider from which the names are taken.engine
- The engine name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |