misc fixes
From-SVN: r45758
This commit is contained in:
parent
040cc0718f
commit
8eba5a2b7f
4 changed files with 25 additions and 6 deletions
|
@ -25,6 +25,7 @@ This exception does not however invalidate any other reasons why the
|
|||
executable file might be covered by the GNU General Public License. */
|
||||
|
||||
package java.security;
|
||||
import java.security.spec.AlgorithmParameterSpec;
|
||||
|
||||
final class DummyKeyPairGenerator extends KeyPairGenerator
|
||||
{
|
||||
|
@ -41,6 +42,12 @@ final class DummyKeyPairGenerator extends KeyPairGenerator
|
|||
kpgSpi.initialize(keysize, random);
|
||||
}
|
||||
|
||||
public void initialize(AlgorithmParameterSpec params, SecureRandom random)
|
||||
throws InvalidAlgorithmParameterException
|
||||
{
|
||||
kpgSpi.initialize(params, random);
|
||||
}
|
||||
|
||||
public KeyPair generateKeyPair()
|
||||
{
|
||||
return kpgSpi.generateKeyPair();
|
||||
|
|
|
@ -35,7 +35,7 @@ package java.security.spec;
|
|||
|
||||
@author Mark Benvenuto
|
||||
*/
|
||||
public abstract class EncodedKeySpec
|
||||
public abstract class EncodedKeySpec implements KeySpec
|
||||
{
|
||||
|
||||
private byte[] encodedKey;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue