Re: Nested ASN1 strings and OPENSSL_ALLOW_NESTED_ASN1_STRINGS

2009-03-03 Thread Luca Milanesio
Dear Dr. Steve Henson, here is the PEM keys (private key + cert), private key password is 12345678, and corresponding PKCS#7 EnvelopedData BER encoded (with 2 level nesting). Thank you again for your help. Cheers. Luca. Dr. Stephen Henson wrote: On Mon, Mar 02, 2009, Luca Milanesio wrote:

Re: Nested ASN1 strings and OPENSSL_ALLOW_NESTED_ASN1_STRINGS

2009-03-03 Thread Dr. Stephen Henson
On Mon, Mar 02, 2009, Luca Milanesio wrote: > Steve, > > thank you for your valuable feedback ! > > ... I still have another question about the PKCS#7 envelopedData ... > > > That structure is the encryptedContent field of PKCS#7 envelopedData > content > > type. > > > > >From PKCS#7... > > > > E

Re: RE: Nested ASN1 strings and OPENSSL_ALLOW_NESTED_ASN1_STRINGS

2009-03-02 Thread marco varnerin
? > > P.S. Obviously by enabling OPENSSL_ALLOW_NESTED_ASN1_STRINGS the problem is > bypassed because of the recursive behavior of asn_collect() function. > > Thank you in advance for your help. > > Luca. > > > Hi, >> >> Thanks a lot for the prompt and clear response

Re: Nested ASN1 strings and OPENSSL_ALLOW_NESTED_ASN1_STRINGS

2009-03-02 Thread Luca Milanesio
Steve, thank you for your valuable feedback ! ... I still have another question about the PKCS#7 envelopedData ... > That structure is the encryptedContent field of PKCS#7 envelopedData content > type. > > >From PKCS#7... > > EncryptedContentInfo ::= SEQUENCE { > contentType ContentType

RE: RE: Nested ASN1 strings and OPENSSL_ALLOW_NESTED_ASN1_STRINGS

2009-03-01 Thread Luca Milanesio
or your help. Luca. Hi, Thanks a lot for the prompt and clear response - much appreciated. It turned out that the apparent nested string was caused by a mismatch between the ASN.1 definition in the parser and the actual ASN.1 structure being parsed. Thanks again, Bryn -Original Me

RE: RE: Nested ASN1 strings and OPENSSL_ALLOW_NESTED_ASN1_STRINGS

2009-03-01 Thread Luca Milanesio
Thank you in advance for your help. Luca. Hi, Thanks a lot for the prompt and clear response - much appreciated. It turned out that the apparent nested string was caused by a mismatch between the ASN.1 definition in the parser and the actual ASN.1 structure being parsed. Thanks again,

RE: Nested ASN1 strings and OPENSSL_ALLOW_NESTED_ASN1_STRINGS

2007-06-29 Thread Williams Bryn-R40716
. Stephen Henson [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 June 2007 1:07 AM To: Williams Bryn-R40716 Cc: openssl-users@openssl.org Subject: Re: Nested ASN1 strings and OPENSSL_ALLOW_NESTED_ASN1_STRINGS On Tue, Jun 26, 2007, Williams Bryn-R40716 wrote: > Hi, > > A team in our organisat

Re: Nested ASN1 strings and OPENSSL_ALLOW_NESTED_ASN1_STRINGS

2007-06-27 Thread Dr. Stephen Henson
On Tue, Jun 26, 2007, Williams Bryn-R40716 wrote: > Hi, > > A team in our organisation has a small ASN.1 decoding example that works > with openssl 0.9.7g, but not with any more recent release. The reason > seems to be that the ASN.1 structure in question includes (perhaps > wrongly) a nested ASN