Class JCEComponentManager

java.lang.Object
com.sshtools.common.ssh.components.ComponentManager
com.sshtools.common.ssh.components.jce.JCEComponentManager
All Implemented Interfaces:
JCEAlgorithms

public class JCEComponentManager extends ComponentManager implements JCEAlgorithms
A component manager for the Java runtime JCE provider. By default all algorithms will be selected from the default provider i.e no provider is specified in calls to JCE methods to create components. You can initialize a default provider to be used on all calls with the following code:
 JCEComponentManager.initializeDefaultProvider(new BouncyCastleProvider());
 
Alternatively you can also assign a specific provider for an individual algorithm, all algorithms used by the API are included as static constants in this class.
 JCEComponentManager.initializeProviderForAlgorithm(JCEComponentManager.JCE_DSA, new BouncyCastleProvider());
 
Author:
Lee David Painter