PKCS10CertificationRequest req = new PKCS10CertificationRequest("SHA1WithRSA",
CertTools.stringToBcX509Name("C=SE, O=AnaTom, CN=foo"), rsakeys.getPublic(), new DERSet(),
rsakeys.getPrivate());
PKCS10RequestMessage p10 = new PKCS10RequestMessage(req);
p10.setUsername("foo");
p10.setPassword("foo123");
UserDataVO user = new UserDataVO("foo", "C=SE,O=AnaTom,CN=foo", rsacaid, null, "foo@anatom.se", SecConst.USER_ENDUSER, fooEEProfileId, fooCertProfileId,
SecConst.TOKEN_SOFT_BROWSERGEN, 0, null);
user.setPassword("foo123");
ExtendedInformation ei = new ExtendedInformation();