[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bouncycastle-crypto-dev
Subject:    Re: [dev-crypto] CMS verification problem
From:       Harakiri <harakiri_23 () yahoo ! com>
Date:       2008-10-27 20:23:44
Message-ID: 317298.73347.qm () web52210 ! mail ! re2 ! yahoo ! com
[Download RAW message or body]

--- On Mon, 10/27/08, hash3d <hash3d@gmail.com> wrote:
> "if encapsulate is true a copy of the message will be
> included in the
> signature with the default content type
> "data"."
> if i set it to false (don't include a copy of the
> message) the verification
> fails with NullPointer error.
> what's wrong and how to do it right?

See JavaDoc CMSSignedDataParser(CMSTypedStream signedContent, byte[] sigBlock), if \
you have a separate signature file, you need to supply the original signed data and \
the signature itself to the verify method


      


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic