MyKeyPairGeneratorSpi.javaAPI DocAndroid 1.5 API2024Wed May 06 22:41:06 BST


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

Fields Summary
Constructors Summary
Methods Summary

        return null;
public voidinitialize(int keysize, random)

        if (keysize < 100) {
            throw new InvalidParameterException(
                    "Invalid keysize: less than 100");
        if (random == null) {
            throw new IllegalArgumentException("Invalid random");
public voidinitialize( params, random)

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