extends java.security.Provider : Provider « Security « Java Tutorial






import java.security.AccessController;
import java.security.PrivilegedAction;

public final class ECCProvider extends java.security.Provider {
  private static final String INFO = "Java2s's provider";

  public ECCProvider() {
    super("Java2s", 1.0, INFO);
    AccessController.doPrivileged(new PrivilegedAction() {
      public Object run() {
        put("KeyFactory.ECC", "com.Java2sKeyFactory");
        put("KeyPairGenerator.ECC", "com.Java2sKeyPairGenerator");
        return null;
      }
    });
  }
}








36.34.Provider
36.34.1.Security.getProviders()
36.34.2.Listing All Available Cryptographic Services
36.34.3.Return the available implementations for a service type
36.34.4.Get cryptographic security providers
36.34.5.Get a Provider
36.34.6.List the available capabilities for ciphers, key agreement, macs, message digests, signatures and other objects in the BC provider.
36.34.7.Get Provider Info
36.34.8.extends java.security.Provider
36.34.9.extends Provider