FileDocCategorySizeDatePackage
MyKeyGeneratorSpi.javaAPI DocAndroid 1.5 API1996Wed May 06 22:41:02 BST 2009org.apache.harmony.crypto.tests.support

MyKeyGeneratorSpi

public class MyKeyGeneratorSpi extends KeyGeneratorSpi
Additional class for verification of KeyGeneratorSpi and KeyGenerator functionality

Fields Summary
Constructors Summary
Methods Summary
protected javax.crypto.SecretKeyengineGenerateKey()

        return null;
    
protected voidengineInit(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random)

        if (params == null) {
            throw new InvalidAlgorithmParameterException("params is null");
        }
    
protected voidengineInit(int keysize, java.security.SecureRandom random)

        if (keysize <= 77) {
            throw new IllegalArgumentException("Invalid keysize");
        }
    
protected voidengineInit(java.security.SecureRandom random)

        throw new IllegalArgumentException("Invalid random");