FileDocCategorySizeDatePackage
MyKeyPairGeneratorSpi.javaAPI DocAndroid 1.5 API2024Wed May 06 22:41:06 BST 2009org.apache.harmony.security.tests.support

MyKeyPairGeneratorSpi

public class MyKeyPairGeneratorSpi extends KeyPairGeneratorSpi
Additional class for verification of KeyPairGeneratorSpi and KeyPairGenerator

Fields Summary
Constructors Summary
Methods Summary
public java.security.KeyPairgenerateKeyPair()

        return null;
    
public voidinitialize(int keysize, java.security.SecureRandom random)

        if (keysize < 100) {
            throw new InvalidParameterException(
                    "Invalid keysize: less than 100");
        }
        if (random == null) {
            throw new IllegalArgumentException("Invalid random");
        }
    
public voidinitialize(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random)

        if (random == null) {
            throw new UnsupportedOperationException(
                    "Not supported for null random");
        }