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 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 encapsulatedContentInfo now contains a 
> >> id-ct-KP-encryptedKeyPkg. How do I proceed with my parsing from here? The 
> >> encapsulatedContentInfo.getContent() returns an OCTET_STRING but I dont 
> >> know what to do with it from here.
> 
> >>
> 
> >>
> 
> >>
> 
> >> Can you provide some code examples in Java for me?
> 
> > 
> 
> > Anyone have a clue?
> 
> 
> 
> Yes, DO NOT use JSS if you want to consume (parser) cryptographic messages.
> 
> JSS is essentially unsupported.  BouncyCastle has the stuff you are looking 
> for.
> 
> 
> 
> >
Can you answer this...why cant I find an example that starts from the 
beginning, meaning reading in a whole CMS package and use JSS and bouncy castle 
to parse it?

-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to