Encrypt from buffer Instead of a file

2007-11-28 Thread Lidia Fernández
ffer. somebody can help me?? Thank! -- ******* LIDIA FERNANDEZ CARPES Departamento de Ingenieria de la Informacion y las Comunicaciones Facultad de Informatica Universidad de Murcia. Campus de Espinardo 30080 Murcia (SPAIN) Tel.: +34

Re: aes128 code??

2007-11-27 Thread Lidia Fernández
ength and iv length. You can get the key length and iv length from the EVP interface. EVP_CIPHER_key_length(EVP_get_cipherbyname("AES128")) EVP_CIPHER_iv_length(EVP_get_cipherbyname("AES128")) Good luck! /leif Lidia Fernández wrote: Hello all! I have to use aes128 encryption

aes128 code??

2007-11-26 Thread Lidia Fernández
in enc.c class, but it's a bit difficult because there are a lot of code! Somebody has do this sometimes?? Are there some utility for use aes128 into another code more easy?? PD: Sorry for my English...i know that is not good -- *

aes128 code??

2007-11-26 Thread Lidia Fernández
in enc.c class, but it's a bit difficult because there are a lot of code! Somebody has do this sometimes?? Are there some utility for use aes128 into another code more easy?? PD: Sorry for my English...i know that is not good -- *

What Padding does OpenSSL use??

2007-11-21 Thread Lidia Fernández
e an error message in Java that say javax.crypto.BadPaddingException: Given final block not properly padded What padding does OpenSSL use??? How can i specify the padding?? Thank, Lidia -- *** LIDIA FERNANDEZ CARPES Depar

What Padding does OpenSSL use??

2007-11-21 Thread Lidia Fernández
e an error message in Java that say javax.crypto.BadPaddingException: Given final block not properly padded What padding does OpenSSL use??? How can i specify the padding?? Thank, Lidia -- *** LIDIA FERNANDEZ CARPES Departamento de Ing

Openssl encode type...?

2007-11-13 Thread Lidia Fernández
de?? i need UFT-8, but i don't know what encode openssl uses. -- *** LIDIA FERNANDEZ CARPES Departamento de Ingenieria de la Informacion y las Comunicaciones Facultad de Informatica Universidad de Murcia. Campus de Espinardo

Re: 3des algorithm

2007-11-09 Thread Lidia Fernández
Dr. Stephen Henson escribió: On Thu, Nov 08, 2007, Lidia Fernndez wrote: Hello all!! I have an application that interact with Linux and windows. i have to cypher a file in Linux, and windows has to decrypt it. I use openssl and 3des to cypher it. openssl enc -des3 -salt -in

3des algorithm

2007-11-08 Thread Lidia Fernández
-des-ede3-cbc -d -in 3descifr.txt -out 3desdescifr.txt -pass pass:lidia DECRYPT Do you know if i can decrypt the file with Java?? -- *** LIDIA FERNANDEZ CARPES Departamento de Ingenieria de la Informacion y las Comunicaciones

symmetric keys and pkcs8 format

2007-11-08 Thread Lidia
good. -- *** LIDIA FERNANDEZ CARPES Departamento de Ingenieria de la Informacion y las Comunicaciones Facultad de Informatica Universidad de Murcia. Campus de Espinardo 30080 Murcia (SPAIN) Tel.: +34 968 364644 Fax: +34 968 364151 email: [

PKCS....without certificates

2007-10-29 Thread Lidia
ou can do a PKCS7 object with certificates, i think it. Somebody knows what is the c functions that can do the same?? I need encrypt a buffer of bytes with a password and i have to generate a PCKS format. Thank! -- ******* LIDIA FER

Encrypt with a password

2007-10-24 Thread Lidia
This mean that you can do a PKCS7 object with certificates, i think it. Somebody knows what is the c functions that can do the same?? I need encrypt a buffer of bytes with a password and i have to generate a PCKS format. Thank! -- ******

PKCS#7 without certificates??

2007-10-17 Thread lidia . fernandez
Hello all!! I've a problem. I need to cypher a buffer of bytes with pkcs7 format but I can't use certificates,i need encrypt using only a key or password. I have searched but I do not find anything to do it. I work with c, and the function PKCS7_encrypt() needs certificates...There is so

Multiples read with ssl

2007-07-31 Thread Lidia Fernández
nt to do a loop like... while (rc > 0) rc=SSL_read(mytls_vars->ssl, out_data,1000); but this gives a error WANT_TO_READ or WANT_TO_WRITE, i don't know why. Do You can't do multiples read with ssl?? Thank! -- ***

dsa with sha1

2002-05-22 Thread Lidia
Hi, I make a function using openssl API to create self-signed certificates. If I use a RSA private key I can sign using EVP_md5() or EVP_sha1() but if i use a DSA private key X509_sign() failed. Thanks, lidia __ OpenSSL Project

openssl-0.9.7-stable-SNAP-20020509.tar.gz

2002-05-10 Thread Lidia
olution: delete this line :-) I think the error i'm talking about it's not relevant, but i notice it so in case someone gets the same error trying to compile this version under windows My english is horrible, sorry See you soon, lidia ___

PROBLEMS READ PUBLIC KEY

2002-04-30 Thread Lidia
inish my work , I write: EVP_PKEY_free(clave_publica); But always the pem_read_bio_pubkey return null Can anybody help me? Thanks, lidia __ OpenSSL Project http://www.openssl.org User Support Mailing List

check private and public keys

2002-04-29 Thread Lidia
Hi, In my app I store in different files private and public key. After, the user can select a private key from a list and a public key, too. I need check if the public and private key belong to the same pair keys (if the public/private key are associate). Regards, lidia My english is

How to generate a dsa key?

2002-04-25 Thread Lidia Castillejo
Sorry i see in dsa.h file :) Regards, lidia __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager

How to generate a dsa key?

2002-04-25 Thread Lidia Castillejo
to use this parameters? Thanks, lidia __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL

anybody is working with openssl and visual basic?

2002-04-03 Thread Lidia Castillejo
__ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]

certificate request

2002-04-01 Thread Lidia Castillejo
icate request? Thanks, lidia __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]

Re: User certificate & private key

2002-03-20 Thread Lidia Castillejo
Perdon mua, estaba pensando en un pkcs#10 cuando decia lo de incluir la clave publica y firmar con la privada. En cualquier caso la segunda parte de mi mensaje es correcta, un pkcs#12 debe contenner tu clave privada sino no te lo reconocera el navegador como propio (p.ejemplo) Saludos, lidia

Re: User certificate & private key

2002-03-20 Thread Lidia Castillejo
certificado personal tuyo, que es su funcion. No se si era esto a lo que te referias, Saludos, lidia - Original Message - From: "Oscar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 20, 2002 4:02 PM Subject: Fw: User certificate & private key

write/read pem file

2002-03-20 Thread Lidia Castillejo
Hi, I generate a pem file that content rsa private key encripted with rc4 algorithm But when i would read a pem file this not accepted the password (obviously I introduce the same password in the two functions :) ) Can anyone help me? Thanks, lidia //--GENKEYS

Re: visual c + openssl

2002-03-20 Thread Lidia Castillejo
My project is a console win32 app I include a libeay32.lib and ssleay32.lib in project settings but when i execute the program appear a message "don't find a .dll file required,libeay32.dll" ????? Thanks, lidia - Original Message - From: "Radivoje Todorovic&quo

Re: problems with openssl and keytool

2001-11-26 Thread Lidia Castillejo
: Re: problems with openssl and keytool > Lidia Castillejo wrote: > > > > Hi, > > please can somebody help me? > > I'm working with openssl and keytool of jdk > > I create my autority certification with openssl. > > I create a public/private pair keys w

problems with openssl and keytool

2001-11-25 Thread Lidia Castillejo
e. I think that the problem is that the .cer not contain a private key. can somebody help me? Thanks, lidia __ OpenSSL Project http://www.openssl.org User Support Mailing List[

KEYTOOL AND OPENSSL

2001-11-22 Thread Lidia Castillejo
Hi, I created a certificate request with keytool and I signed this with openssl. I will import this file signed to keystore of user. But when I try import this file with command: keytool -import -alias firmacliente -file 01.pem -keystore cliente Appear this error: keytool error: java

CERTIFICATE & BROWSER

2001-11-22 Thread Lidia Castillejo
I have a file 01.pem result of validate csr file. Have I generate a x.509 certificate to user can use this file in the browser? or send I this .pem directly? I would use this certificate for the user sign contracts in browser Thanks, lidia

ERROR VALIDATE CERTIFICATE

2001-11-21 Thread Lidia Castillejo
Hi, I create a certificate request to CA with keytool (JDK tool) keytool -certreq -alias firmacliente -file reqclien.csr -keystore cliente I export to file in CA path (copy ...). I will validate the reqclien.csr And then i execute: Openssl ca -in reqclien.csr -verbose And then