Re: JSS library and parsing CMS

2012-09-14 Thread Anders Rundgren
Kid Alchemy, This is the wrong list for BouncyCastle questions! -Anders Anyway, here is an extract from code that I use (I'm not an expert of CMS): import org.bouncycastle.cms.CMSException; import org.bouncycastle.cms.CMSProcessableByteArray; import org.bouncycastle.cms.CMSSignedData; import org

Re: JSS library and parsing CMS

2012-09-14 Thread KidAlchemy
On Friday, August 17, 2012 5:44:40 AM UTC-4, Anders Rundgren wrote: > On 2012-08-15 21:35, KidAlchemy wrote: > > > On Thursday, August 9, 2012 10:26:12 AM UTC-4, KidAlchemy wrote: > > >> I want to use the JSS library just to parse the CMS package into the > >> specific structures that are provid

Re: JSS library and parsing CMS

2012-08-17 Thread Anders Rundgren
On 2012-08-15 21:35, KidAlchemy wrote: > On Thursday, August 9, 2012 10:26:12 AM UTC-4, KidAlchemy wrote: >> I want to use the JSS library just to parse the CMS package into the >> specific structures that are provided by JSS. I can get the signedData, >> then I call signedData.getContentInfo(),

Re: JSS library and parsing CMS

2012-08-15 Thread KidAlchemy
On Thursday, August 9, 2012 10:26:12 AM UTC-4, KidAlchemy wrote: > I want to use the JSS library just to parse the CMS package into the specific > structures that are provided by JSS. I can get the signedData, then I call > signedData.getContentInfo(), which gives me the encapsulatedContentInfo

JSS library and parsing CMS

2012-08-09 Thread KidAlchemy
I want to use the JSS library just to parse the CMS package into the specific structures that are provided by JSS. I can get the signedData, then I call signedData.getContentInfo(), which gives me the encapsulatedContentInfo populated structure and this works fine. The problem: The encapsulate