Re: CMS RFC2360 and asn1parse ...

2008-01-08 Thread rfx
Yes ! ... i try it and it seem to be well when i compare ASN1 structures ... i think i would like to "complicated my life" ;-) Thank you Dr Franck ROUSSIA Dr. Stephen Henson a écrit : If you want to include the content in the PKCS#7 structure then use the -nodetach option to smime. Steve. --

RE: unable to write 'Random State' e is 65537

2008-01-08 Thread David Schwartz
> Sorry for not being clear. > I was following the link you have provided below. First I was trying to > generate a private key by > type "openssl genrsa -out my-prvkey.pem 1024" to the windows Vista CMD > and the result was: >C:\OpenSSL>openssl genrsa -out my-prvkey.pem 1024 > Loading 'screen'

openSSL

2008-01-08 Thread ponnusamy p
from p.ponnusamy, i like to develop the paper titled "comparison studies between pre-shared and public key exchange in transport layer security". i need some guidance for it. which platform would be better for this ? which language i can choose c,c++,java or j2me ? -- by Ponnusamy.P __

Re: CMS RFC2360 and asn1parse ...

2008-01-08 Thread Dr. Stephen Henson
On Tue, Jan 08, 2008, rfx wrote: > "It wouldn't help if you could because that structure contains a > digital signature later on and if you changed the content the signature > would > no longer be valid." > > Perhaps, signed "data" using "smime" function in RFC 2315 format of openssl > with sign

Re: unable to write 'Random State' e is 65537

2008-01-08 Thread deep sky
Sorry for not being clear. I was following the link you have provided below. First I was trying to generate a private key by type "openssl genrsa -out my-prvkey.pem 1024" to the windows Vista CMD and the result was: C:\OpenSSL>openssl genrsa -out my-prvkey.pem 1024 Loading 'screen' into random

Re: unable to write 'Random State' e is 65537

2008-01-08 Thread Wes Kussmaul
deep sky wrote: Can you elaborate a little bit more cause I'm totally new to this openssl. I'm doing this to create encryptions for my paypal buttons You shouldn't need to do that. If you used PayPal's button generating facility, the resulting button sets up a tunnel between your customer's b

RE: unable to write 'Random State' e is 65537

2008-01-08 Thread David Schwartz
> I just found out that the files i have been creating are in the > OpenSSL folder, not in the Bin folder. Are those files that I have created > working ? how do i test it ? I have no idea what files you are talking about. You could be talking about keys, certificates, configuration files, encryp

Re: CMS RFC2360 and asn1parse ...

2008-01-08 Thread rfx
"It wouldn't help if you could because that structure contains a digital signature later on and if you changed the content the signature would no longer be valid." Perhaps, signed "data" using "smime" function in RFC 2315 format of openssl with signature at the end and integrate "data" in the pk

Re: unable to write 'Random State' e is 65537

2008-01-08 Thread deep sky
Hi I just found out that the files i have been creating are in the OpenSSL folder, not in the Bin folder. Are those files that I have created working ? how do i test it ? On Jan 8, 2008 1:18 PM, David Schwartz <[EMAIL PROTECTED]> wrote: > > > By the way, this detailed explanation was my first hi

RE: unable to write 'Random State' e is 65537

2008-01-08 Thread David Schwartz
> By the way, this detailed explanation was my first hit Googling > 'openssl "not seeded"'. This comment, while true, it not useful. I meant to point out that it was my first hit when Googling 'openssl "unable to write"'. DS _

RE: unable to write 'Random State' e is 65537

2008-01-08 Thread David Schwartz
> Can you elaborate a little bit more cause I'm totally new to > this openssl. I'm doing this to create encryptions for my > paypal buttons You want me to elaborate on, "I think it should be safe to ignore"? If you want more details, read this question and answer. It doesn't directly apply, but

Re: unable to write 'Random State' e is 65537

2008-01-08 Thread deep sky
Can you elaborate a little bit more cause I'm totally new to this openssl. I'm doing this to create encryptions for my paypal buttons On Jan 8, 2008 3:53 AM, David Schwartz <[EMAIL PROTECTED]> wrote: > > > 3. I installed OpenSSL and run it in the Windows Vista cmd and > > the command > > is > >

Re: Regarding the X509_get_ext_d2i

2008-01-08 Thread Dr. Stephen Henson
On Tue, Jan 08, 2008, sunilv wrote: > > Where can I get the information whic is the DN component and whcich is the > extension. > Am new to this certificate related work.Thats the reason I might be asking > some trivial questions. > The relevant standards will normally include this information.

Re: Regarding the X509_get_ext_d2i

2008-01-08 Thread sunilv
Hi Stephen, Where can I get the information whic is the DN component and whcich is the extension. Am new to this certificate related work.Thats the reason I might be asking some trivial questions. Regards Sunil. Dr. Stephen Henson wrote: > > On Tue, Jan 08, 2008, sunilv wrote: > >> >> Hi, >

Re: Regarding the X509_get_ext_d2i

2008-01-08 Thread Dr. Stephen Henson
On Tue, Jan 08, 2008, sunilv wrote: > > Hi, > > Presently I am using the certificate authentication for one application. > In that one,am reading the certificate thru C program. > In that program am using the function called X509_get_ext_d2i. > When I am trying to retrieve the value of the exten

Re: CMS RFC2360 and asn1parse ...

2008-01-08 Thread Dr. Stephen Henson
On Tue, Jan 08, 2008, rfx wrote: > Thank you > > Exactly, i compare ASN1 signeddata structure ver 1.5 of openssl signing > using "smime" function and a CMS ASN1 structure ... and it seem ??? to be > different only at the introducing "data" by a "OCTETSTRING" after "OBJECT > :pkcs7-data" ... > >

Regarding the X509_get_ext_d2i

2008-01-08 Thread sunilv
Hi, Presently I am using the certificate authentication for one application. In that one,am reading the certificate thru C program. In that program am using the function called X509_get_ext_d2i. When I am trying to retrieve the value of the extension serialNumber , it is throwing the error it cou

64 bit openssl 0.97b

2008-01-08 Thread abhishek sinha
Hi Can any one tell whether openssl 0.97b is compilable on 64-bit solaris 10 machine using 64 bit compler and if not than what are the other versions which are stable on 64 bit solaris 10. Thanks __ OpenSSL Project

Re: CMS RFC2360 and asn1parse ...

2008-01-08 Thread rfx
Thank you Exactly, i compare ASN1 signeddata structure ver 1.5 of openssl signing using "smime" function and a CMS ASN1 structure ... and it seem ??? to be different only at the introducing "data" by a "OCTETSTRING" after "OBJECT :pkcs7-data" ... Is it possible to introduce "data" at the goo

RE: unable to write 'Random State' e is 65537

2008-01-08 Thread David Schwartz
> 3. I installed OpenSSL and run it in the Windows Vista cmd and > the command > is >openssl genrsa -out my-pkey.pem 1024 > >I got the following: > > C:\OpenSSL>openssl genrsa -out my-prvkey.pem 1024 > Loading 'screen' into random state - done > Generating RSA private key, 1024

unable to write 'Random State' e is 65537

2008-01-08 Thread deepman007
Hi I'm trying to generate a private key using OpenSSL in windows Vista cmd. Here's what I did: 1. I downloaded the Binary 32bit OpenSSL exe file for windows and the version is OpenSSL 0.9.8g 19 Oct 2007 2. I set up the varible path ;C:\OpenSSL\bin 3. I installed OpenSSL and run it

Re: convert binary o hexadecimal

2008-01-08 Thread Minimiscience
On Jan 2, 2008 4:35 AM, Helios Nguyen <[EMAIL PROTECTED]> wrote: > can someone tell me with which function > to convert binary to haxadecimal after i use hash functions. What exactly do you mean? If you want to print a series of bytes as hexadecimal values, use the %x format specifier of printf()

Re: CMS RFC2360 and asn1parse ...

2008-01-08 Thread Dr. Stephen Henson
On Tue, Jan 01, 2008, rfx wrote: > An IGC need sign request certificat to subscribe only in CMS RFC2360 format > so i would like (but i don't know if it's the best solution) to make it > using asn1parse and genconf functions. > > I try to reproduce an example of CMS signeddata with first part is