return null;
if (keysize < 0) { throw new IllegalArgumentException("keysize < 0"); }
if (random == null) { throw new IllegalArgumentException("random is null"); }