signing mails

Hi
I've a problem with signing emails using bouncy castle jars. There's an exception "BC provider not instaled" (class X509V3CertificateGenerator, method generateCertificateGenerator).
any ideas ?
[216 byte] By [karpaczio] at [2007-11-18 19:28:24]
# 1 Re: signing mails
none what so ever.. I wouldnt even know where to find the solution. One other internet user, out of millions, seems to have the same problem as you:

http://forum.java.sun.com/thread.jsp?thread=467029&forum=45&message=2148979

what does the documentation say?
cjard at 2007-11-10 2:29:28 >
# 2 Re: signing mails
import java.security.Security;
import org.bouncycastle.jce.provider.BouncyCastleProvider;

Security.addProvider(new BouncyCastleProvider());

documentation was a clue, thx
karpaczio at 2007-11-10 2:30:28 >