Compiling an project with OpenSSL and PocketPC2002 ActiveX

2004-02-27 Thread Antonio Ruiz Martínez
e\atlbase.h(6213) : error C2133: 'szDir' : unknown size Could you be so kind of telling me what the problem is, please? Regards, Antonio. -- ------ Antonio Ruiz Martínez Faculty of Computer Science-University of Murcia

Problems compiling 0.9.7d for WCE

2004-04-23 Thread Antonio Ruiz Martínez
turn code '0x2' Stop. Could you be so kind to help me, please? Regards, Antonio. -- -- Antonio Ruiz Martínez Faculty of Computer Science-University of Murcia 30071 Murcia - Spain Telf: +34968364644 e-mail: [EMAIL PROTECTED] -

Re: Problems compiling 0.9.7d for WCE

2004-04-23 Thread Antonio Ruiz Martínez
al Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Antonio Ruiz Martínez > Sent: Friday, 23 April 2004 8:19 PM > To: [EMAIL PROTECTED] > Subject: Problems compiling 0.9.7d for WCE > > Hello! > > I'm compiling OpenSSL 0.9.7d for WC

Add a new signer to a PKCS#7

2004-04-23 Thread Antonio Ruiz Martínez
Hello! I'm trying to add a new signer to a PKCS#7 that I receive from another person. In first term, I'm decoding the PKCS#7 and then I'm trying to using my private key and my cert to sign the content of this PKCS#7 and insert my signature in this PKCS#7 in order to get the PKCS#7 with the two

Re: Add a new signer to a PKCS#7

2004-04-27 Thread Antonio Ruiz Martínez
Hello! "Dr. Stephen Henson" wrote: > On Fri, Apr 23, 2004, Antonio Ruiz Martínez wrote: > > > Hello! > > > > I'm trying to add a new signer to a PKCS#7 that I receive from > > another person. In first term, I'm decoding the PKCS#7 and then

Unsigned attributes to PKCS#7

2004-09-01 Thread Antonio Ruiz Martínez
Hello! I would like to add a TimeStamping to a signed PKCS#7 and I have got some questions: - Is it the TimeStamping structure in asn.1 defined in openssl (or planned)? - Is there some attribute defined in Openssl to add the time stamping structure to a PKCS#7 as an unsigned attribute (is the

OpenSSL and CMS

2004-09-03 Thread Antonio Ruiz Martínez
Hello! I'm writing you because I would like to know if Opessl is planning to support the Cryptographic Message Syntax (CMS) for the PKCS#7, and in that case, when it could be possible to be available. Thanks for your answers, Regards, Antonio. _

PKCS7_add_attribute

2004-09-15 Thread Antonio Ruiz Martínez
s, Antonio. -- ------ Antonio Ruiz Martínez Faculty of Computer Science-University of Murcia 30071 Murcia - Spain e-mail: [EMAIL PROTECTED] or arm [at] dif [dot] um [dot] es -- __ OpenS

Re: PKCS7_add_attribute

2004-09-15 Thread Antonio Ruiz Martínez
Hello! Dr. Stephen Henson wrote: On Wed, Sep 15, 2004, Antonio Ruiz Martínez wrote: Hello! I've looking at the PKCS7_add_attribute function and I would like to insert a signed PKCS7 as an attribute. The header of the function is: PKCS7_add_attribute(PKCS7_SIGNER

Re: PKCS7_add_attribute

2004-09-15 Thread Antonio Ruiz Martínez
Dr. Stephen Henson wrote: On Wed, Sep 15, 2004, Antonio Ruiz Martínez wrote: Thanks for your answer, it has been very useful when I use an octect string but not when but I have got a problem when I'm using a sequence. I think I am not doing something properly because I

Re: PKCS7_add_attribute

2004-09-15 Thread Antonio Ruiz Martínez
Dr. Stephen Henson wrote: On Wed, Sep 15, 2004, Antonio Ruiz Martínez wrote: Thanks for your answer, it has been very useful when I use an octect string but not when but I have got a problem when I'm using a sequence. I think I am not doing something properly because I

Re: PKCS7_add_attribute

2004-09-15 Thread Antonio Ruiz Martínez
ling List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] -- ------ Antonio Ruiz Martínez Faculty of Computer Science-University of Murcia 30071 Murcia - Spain e-mail: [EMAIL PROTECTED] or arm

Re: PKCS7_add_attribute

2004-09-16 Thread Antonio Ruiz Martínez
Hello! Dr. Stephen Henson wrote: On Wed, Sep 15, 2004, Antonio Ruiz Martínez wrote: Hello! Thanks for your answer, it has been very useful when I use an octect string but not when but I have got a problem when I'm using a sequence. I think I am not doing something pro

Re: PKCS7_add_attribute

2004-09-16 Thread Antonio Ruiz Martínez
Dr. Stephen Henson wrote: On Thu, Sep 16, 2004, Antonio Ruiz Martínez wrote: Hello! Dr. Stephen Henson wrote: My guess is that there's a problem with the generation of the encoding of the attribute: what code did you use for that?

Problem decoding a PKCS7 structure

2004-09-18 Thread Antonio Ruiz Martínez
Hello! I have a PKCS#7 that I can't parse with Openssl, I've tried to parse it with other libraries such as IAIK and CAPICOM and it works, but with Openssl after executing d2i_PKCS7, when I am doing PKCS7_dataInit, it crashes. I don't know if there is a bug or the PKCS#7 created the other li

Re: Problem decoding a PKCS7 structure

2004-09-18 Thread Antonio Ruiz Martínez
Hello! Dr. Stephen Henson wrote: On Sat, Sep 18, 2004, Antonio Ruiz Martínez wrote: Hello! I have a PKCS#7 that I can't parse with Openssl, I've tried to parse it with other libraries such as IAIK and CAPICOM and it works, but with Openssl after executing d2i_PKC

Re: PKCS7_add_attribute

2004-09-20 Thread Antonio Ruiz Martínez
Dr. Stephen Henson wrote: On Thu, Sep 16, 2004, Antonio Ruiz Martínez wrote: I tried to put the sequence in an octet_string and with that way there is no problem but I would like to use the SEQUENCE directley if it is possible. I tried that test file and it chokes

OpenSSL and Symbian

2004-11-24 Thread Antonio Ruiz Martínez
Hello! I'm writing you because I would like to know if anyone has compiled OpenSSL for Symbian and, in that case, how I could do it. Regards, Antonio. __ OpenSSL Project http://www.openssl.org U

Is it possible to set IV length in EVP_Cipher?

2005-03-08 Thread Antonio Ruiz Martínez
Hello! I have been looking at how I can set the length of the iv parameters in a cipher algorithm. I saw that we can put the IV with EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, do_decrypt); However this length, in RC2_CBC, is 8 bytes I don't know if it is possible to use another differe

Re: Is it possible to set IV length in EVP_Cipher?

2005-03-11 Thread Antonio Ruiz Martínez
Hola!     Dr. Stephen Henson wrote: On Tue, Mar 08, 2005, Antonio Ruiz Martínez wrote: Hello! I have been looking at how I can set the length of the iv parameters in a cipher algorithm. I saw that we can put the IV with EVP_CipherInit_ex(ctx, NULL, NULL, key, iv

Re: [openssl-users] OCSP structure compliance RFC2560

2005-05-02 Thread Antonio Ruiz Martínez
Hello! Erwann ABALEA wrote: Bonsoir, Hodie III Kal. Mai. MMV est, Antonio Ruiz Martínez scripsit: I'm seeing the structure generated by OpenSSL in a OCSPRequest. However, from my point of view it doesn't accomplish with the standar because there is not any num

PKCS#1 v2.1 support

2005-11-09 Thread Antonio Ruiz Martínez
Hello! I would like to know if openssl is fully compliant with PKCS#1 v2.1 or if it is planned to support it in short. Could you help me, please? Regards, Antonio. __ OpenSSL Project http://

Re: PKCS#1 v2.1 support

2005-11-09 Thread Antonio Ruiz Martínez
Dr. Stephen Henson wrote: On Wed, Nov 09, 2005, Antonio Ruiz Martnez wrote: Hello! I would like to know if openssl is fully compliant with PKCS#1 v2.1 or if it is planned to support it in short. Could you help me, please? Depends on what you mean by "fully complia

ASN.1 example

2001-02-20 Thread Antonio Ruiz Martínez
Hi all! I'm novice with OpenSSL and I want make a ASN.1 structure, for example: SEQUENCE { a PrintableString, b PrintableString, }; After, I want to get the DER encoding of this sequence Has anybody any example, please? I need an example for see how do it. Thanks in advance.

ASN.1 INTEGER

2001-02-21 Thread Antonio Ruiz Martínez
SN1_INTEGER(NULL,&der,londer);  pp=ASN1_INTEGER_get(version2);  printf("Integer: %d\n",pp);     This last printf says that the Integer is 0 but the integer is 1234. Why?   -- --------- Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia - España (Spain) Telf: +34-968-364644 -  

Install the latest snapshot

2001-02-22 Thread Antonio Ruiz Martínez
Hello! I have got a problem when I'm trying to install the latest snapshot. The error says that it can't find the "unistd.h". I'm using windows. What is the problem? -- ---------- Antonio Ruiz Martínez Facultad de I

Question about ASN.1

2001-03-08 Thread Antonio Ruiz Martínez
Hello! I'm confused, when must I use the structure ASN1_TYPE and when must I use the structure ASN1_OBJECT? Thanks for yours answers, regards, Antonio. -- -- Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 M

Compile static version of the latest snapshot

2001-03-08 Thread Antonio Ruiz Martínez
op. How Can I fix it? Thanks in advance, Antonio. -- ------ Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia - España (Spain) Telf: +34-968-3

SEQUENCE

2001-03-08 Thread Antonio Ruiz Martínez
ds Antonio. -- ------ Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia - España (Spain) Telf: +34-968-364644 e-mail: [EMAIL

ASN.1 TYPE

2001-03-20 Thread Antonio Ruiz Martínez
lloc(londer1);  unsigned char* tmpder31 = der31;  londer1= i2d_ASN1_TYPE(atS,&tmpder31);  ASN1_TYPE *atype21=NULL;  atype21=d2i_ASN1_TYPE(NULL,&der31,londer1);  if ((atype21->type)==V_ASN1_SEQUENCE)   printf("OK\n");  return 0; } -- --

BIO and byte array

2001-04-09 Thread Antonio Ruiz Martínez
tonio. -- -- Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia - España (Spain) Telf: +34-968-364644 e-mail: [EMAIL PROT

BIO and byte array

2001-04-10 Thread Antonio Ruiz Martínez
hanks in advance, Regards, Antonio. -- ------ Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia - España (Spain) Telf: +34-968-364644 e-mail: [EMAIL PROTECTED] --  

x509 and x509 Store

2001-04-15 Thread Antonio Ruiz Martínez
Hello! How I can to create a certificate from the command line? I want create a certificate, sign it and finally, I want to create an x509 store, how i can do it? Thanks in advance, Antonio. -- -- Antonio Ruiz Martínez Facultad de

Get Public Key in byte array

2001-04-23 Thread Antonio Ruiz Martínez
Hello! How I can get the public key (from a certificate) in an array of bytes? Thanks in advance, Regards, Antonio. -- -- Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia - España (Spain) Telf: +34-968

Certificate from PKCS#7

2001-04-24 Thread Antonio Ruiz Martínez
Hello! I've got (received) a PKCS#7 signed and enveloped How I can get the certificate from the signer? Thanks in advance, Antonio. -- -- Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia - E

Verify Callback

2001-05-02 Thread Antonio Ruiz Martínez
tonio. -- -- Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia - España (Spain) Telf: +34-968-364644 e-mail: [EMAIL PROT

How I can create a Cert STORE

2001-05-04 Thread Antonio Ruiz Martínez
Hello! Like I say in the subject How I can create a Cert Store? Thanks in advance, Regards, Antonio. -- -- Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia - España (Spain) Telf: +34-968-364644 e-mail

Re: How I can create a Cert STORE

2001-05-04 Thread Antonio Ruiz Martínez
Rabellino Sergio wrote: > Antonio Ruiz Martínez wrote: > > > > Hello! > > > > Like I say in the subject > > > > How I can create a Cert Store? > > > > Thanks in advance, > > Regards, > > Antonio. > Are you thinking

Problem with the last Snapshot

2001-05-07 Thread Antonio Ruiz Martínez
2' How I can fix it? Thanks in advance, Regards, Antonio. -- ---------- Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia - España (Spain)

Problems whit the last Snapshot(2)

2001-05-07 Thread Antonio Ruiz Martínez
fined symbols f ound NMAKE : fatal error U1077: 'link' : return code '0x491' Stop. How I can fix? Thanks in advance, Regards, Antonio. -- ------ Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia - Es

Re: Problems whit the last Snapshot(2)

2001-05-07 Thread Antonio Ruiz Martínez
Hello! Marc Sherman wrote: > Your project is trying to link with multiple versions of the c runtime > library. As the compiler is suggesting, try using the /NODEFAULTLIB:library > in your linker options. I believe LIBCMT.lib is the multi-threaded static > verison of the c runtime, so try "/NODEF

Base64

2001-07-23 Thread Antonio Ruiz Martínez
Hello! I've got a function to decode a byte array in base64 and the function is the next... ungined char *bytes= -> File (his size is 7Mb). int length= 7Mb; BIO *bio2=BIO_new(BIO_s_mem()); BIO_write(bio2,bytes,length); BIO *b64_2; if(!(b64_2 = BIO_new(BIO_f_base64( { return

BUF_MEM...

2001-07-24 Thread Antonio Ruiz Martínez
Hello! I've got a question about buf_mem The BIO_get_mem_ptr, Does it make a copy of the bytes in the byte array where is used? That is, Is there any function to free a BUF_MEM ? This is my source code BIO *bio=BIO_new(BIO_s_mem()); BUF_MEM *buf_mem=NULL; BIO_get_mem_ptr(bio,&buf_me