From: julien j. <shi...@ms...> - 2007-05-29 15:11:39
|
Hello, I would like to know how it is possible to create a Certificate (org.ejbca.core.protocol.ws.client.gen.Certificate) using the web service EjbcaWSService without given the private key. PKCS10CertificationRequest pkcs10 = new PKCS10CertificationRequest("SHA1WithRSA", CertTools.stringToBcX509Name("CN=NOUSED"), keys.getPublic(), null, keys.getPrivate()); Certificate certenv = ejbcaraws.pkcs10Req("WSTESTUSER1","foo123",new String(Base64.encode(pkcs10.getEncoded())),null); thanks _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ |