Patch: Missing method from DummyKeyPairGenerator

Anthony Green green@redhat.com
Sat Sep 22 18:03:00 GMT 2001


DummyKeyPairGenerator needs to forward one more `initialize' method to
the underlying provider.

This fixes a failure in the Bouncy Castle JCE provider test suite.

I'm checking it in.

AG


2001-09-22  Anthony Green  <green@redhat.com>

  	* java/security/DummyKeyPairGenerator.java (initialize): New
  	method (with AlgorithmParameterSpec argument).
 
Index: java/security/DummyKeyPairGenerator.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/DummyKeyPairGenerator.java,v
retrieving revision 1.1
diff -r1.1 DummyKeyPairGenerator.java
27a28
> import java.security.spec.AlgorithmParameterSpec;
41a43,48
>   }
> 
>   public void initialize(AlgorithmParameterSpec params, SecureRandom random)
>     throws InvalidAlgorithmParameterException
>   {
>     kpgSpi.initialize(params, random);



More information about the Java-patches mailing list