title: bundle will not start when bouncy castle is imported
body: <p>I am trying to add bouncy castle as a service provider to my java product running on apache karaf. 
  When I am trying to start the bundle which imports bouncy castle I get an error message</p>
  
  <p>java.lang.Exception: Could not start bundle mvn:com.xxx.yyy.zzz/docsservice/1.0.0-SNAPSHOT/war in feature(s) server-docs-1.0.0-SNAPSHOT: Unresolved constraint in bundle docs [245]: Unable to resolve 245.0: missing requirement [245.0] osgi.wiring.package; (&amp;(osgi.wiring.package=org.bouncycastle.jce.provider)(version>=1.51.0))
                  at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:472)</p>
  
  <p>In the pom file I imported the package org.bouncycastle.jce.provider and I added bouncycastle as a dependency. 
  Also, i made all the changes described on this page,
  <a href="http://karaf.apache.org/manual/latest/users-guide/security.html" rel="nofollow">http://karaf.apache.org/manual/latest/users-guide/security.html</a>, see below</p>
  
  <ol>
  <li>I put provider jar in lib/ext</li>
  <li>I Modified the etc/config.properties configuration file to add the following property
  org.apache.karaf.security.providers = xxx,yyy</li>
  </ol>
  
  <p>org.apache.karaf.security.providers = org.bouncycastle.jce.provider.BouncyCastleProvider</p>
  
  <ol start="3">
  <li>I provided access to the classes from those providers from the system bundle so that all bundles can access those. I did this by modifying the org.osgi.framework.bootdelegation property in the same configuration file:</li>
  </ol>
  
  <p>org.osgi.framework.bootdelegation = ...,org.bouncycastle*</p>
  
  <ol start="4">
  <li>On some forum I found another suggestion so I modified 
  *org.osgi.framework.system.packages.extra = * in the config.properties as well and I added here packages exported from bouncycastle</li>
  </ol>
  
  <p>Nonetheless I wasn't able to load the bundle successfully. I looked at all the bundles loaded by karaf and none of them was exporting bouncy castle package. 
  What am I missing here? How can I make the bundles to start?</p>