The algorithm used here is described in nessie-pss-B.pdf document which is part of the RSA-PSS submission to NESSIE.
8788899091929394959697
map.put(RSAKeyPairGenerator.MODULUS_LENGTH, new Integer(1024)); RSAKeyPairGenerator kpg = new RSAKeyPairGenerator(); kpg.setup(map); KeyPair kp = kpg.generate(); pubK = (RSAPublicKey) kp.getPublic(); secK = (RSAPrivateKey) kp.getPrivate(); }