Thanks, much cleaner.
Chris Brook

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dr. Stephen Henson
Sent: Monday, September 23, 2002 6:13 PM
To: [EMAIL PROTECTED]
Subject: Re: PBEParams


On Mon, Sep 23, 2002, Chris Brook wrote:

> I am converting some code from BSAFE to OpenSSL, using 0.9.7 beta 3, and
> have an issue with the PKCS#5 PBEParameters encoding/decoding.  In BSAFE,
> the algorithm ObjId is included in the PBEParameters encoding with an
outer
> SEQUENCE.  In OpenSSL it is not.  I can manually add strip off the algo
> ObjId and Seqence to get at the real PBE Params but this is a pain.  Is
> there a d2i/id2 that will encode/decode the PBEParams Info Object with the
> algo in it?

Yes X509_ALGOR: its equivalent to AlgorithmIdentifier.

Steve.
--
Dr. Stephen Henson      [EMAIL PROTECTED]
OpenSSL Project         http://www.openssl.org/~steve/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to