|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.crypto.Providers
public class Providers
Sets and resets the JCE Providers.
Field Summary | |
---|---|
static String |
ALG_ALIAS
Prefix for algorithm alias properties of a crypto provider. |
static String |
DESCR
The definitions of options understood by this tool. |
static String |
INDENT
A string of blanks for simple beautifying of output. |
protected static Map |
pmap_
The map that maps provider names to their base class. |
Constructor Summary | |
---|---|
Providers()
|
Method Summary | |
---|---|
static void |
add(String[] aliases)
Adds the given providers. |
protected static void |
clear()
Clears the list of registered Java Security Providers. |
static void |
dumpProviders(PrintStream out)
Prints the list of registered Providers to the given PrintStream . |
static Map |
initProviderMap()
Initialises the map that maps names of providers to the repsective provider classes. |
static void |
main(String[] argv)
|
static void |
printAliases(PrintStream out)
Prints the list of known alias names to the given PrintStream . |
static void |
printProviders(PrintStream out)
Prints the list of registered Providers to the given PrintStream . |
static void |
searchAlgorithm(PrintStream out,
String alg)
Searches an algorithm within the registered provider list and prints the search result to the given PrintStream . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DESCR
public static final String INDENT
public static final String ALG_ALIAS
protected static Map pmap_
Constructor Detail |
---|
public Providers()
Method Detail |
---|
public static Map initProviderMap()
public static void printAliases(PrintStream out) throws IOException
PrintStream
.
out
- The PrintStream
to which the
known aliases are written.
IOException
public static void printProviders(PrintStream out)
PrintStream
.
out
- The PrintStream
to which the
list of registered Providers is written.public static void dumpProviders(PrintStream out)
PrintStream
.
out
- The PrintStream
to which the
list of registered Providers is written.public static void searchAlgorithm(PrintStream out, String alg)
PrintStream
.
out
- The PrintStream
to which the
search result is written.out
- The algorithm to search within the registered
provider list.protected static void clear()
public static void add(String[] aliases) throws NoSuchProviderException
aliases
- The known aliases of the Providers to
add, or the names of the respective classes.
NoSuchProviderException
- if the class of a
given Provider cannot be found.public static void main(String[] argv) throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |