Don't require Bouncy Castle Crypto

The Bouncy Castle provider is 1.6 MB, and isn't actually required
to run the daemon.  The JRE provides enough basic functionality
on its own, so Bouncy Castle is entirely optional to users.

This also has the benefit of allowing the first webapp instance
in a container to garbage collect.  If Bouncy Castle were to be
loaded from the webapp and gets registered with JCE, then that
first webapp instance cannot be GC'd if the container wants to
restart it with an updated version.

Signed-off-by: Shawn O. Pearce <sop@google.com>
3 files changed