title: Define Padding and IV in PKCS7 encryption with BouncyCastle
body: <p>I'd like to make an encryption in PKCS#7 format using BouncyCastle, by using the org.bouncycastle.cms package.
  I need to define the padding and the initial value for encryption, but the classes of cms package don't allow to define this informations,how can i do that?</p>