|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.james.security.InitJCE
public class InitJCE
Security Providers initialization class. The first call of the init method
will have the class loader do the job. This technique ensures proper
initialization without the need of maintaining the
${java_home}/lib/security/java.security file, that would otherwise
need the addition of the following line:
security.provider.n=org.bouncycastle.jce.provider.BouncyCastleProvider
.
The call also registers to the javamail's MailcapCommandMap the content
handlers that are needed to work with s/mime mails.
Constructor Summary | |
---|---|
InitJCE()
|
Method Summary | |
---|---|
static void |
init()
Method that registers the security provider BouncyCastle as a system security provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InitJCE()
Method Detail |
---|
public static void init() throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |