provided by: 
Originally published at Internet.comEstablishing a Provider
The first step in building a provider is to create a Provider subclass that includes the algorithms. Providers are represented by a name that is a subclass of java.security.Provider. Each provider class has a name, version number, and string description. You can query these using:
public String getName() public double getVersion() public String getInfo()
To establish the provider subclass, import the java.security library, extend java.security.Provider, and make a call to super with the specifics:
import java.security.*; public class Provider extends java.security.Provider { public Provider() { super ("ECP", 1.1, "Earthweb's Cryptography Provider"); put("","") put("",""); } }
The call to super specifies a providers short name (used in the getInstance() methods that accept a provider name), version number, and a long name or description.
Provider is a subclass of java.util.Hashtable. It keeps mappings between algorithm names and implementations as a list of string mappings. You can add mappings by using the put() method. The put() method takes two arguments: one is in the form of engine.algorithm; the second is the name of the class that implements the algorithm for the specified provider...
Read article at Internet.com site