return null;
if (keysize < 100) { throw new InvalidParameterException( "Invalid keysize: less than 100"); } if (random == null) { throw new IllegalArgumentException("Invalid random"); }
if (random == null) { throw new UnsupportedOperationException( "Not supported for null random"); }