pkcs#7 API usage

2005-09-25 Thread konark
Dear Users, I'm New to Open SSL but I have a good knowledge of pkcs7 ... I want use open SSL pkcs7.h Please send me API usage docs OR archive links .. Regards, konark __ OpenSSL Project

Strange BIO_new(BIO_s_file()) behaviour

2005-09-25 Thread Scratch
In the 1st example everything is ok, fout points to BIO structure: void main() { BIO *fout; fout=BIO_new(BIO_s_file()); } BUT if I'll put this code in a separate procedure fout points to nothing: void Encrypt(unsigned char *pass, unsigned char *plaintext) { BIO *fout; fout=BIO_new(BIO_s_

Re: I have some question

2005-09-25 Thread Rich Salz
> 1.in applications that use openssl, the session keys are 40 bit or 128 bit? It depeds on the cipher suite; see "openssl ciphers" for example. > 2.how can 40 bits key be changed to 128 bits in this application( for example > IE & Mozilla) You can limit what ciphers you'll use in connections.

Re: Java bindings

2005-09-25 Thread Bear Giles
I looked at this a while back, ultimately decided to go with a pure java implementation (BouncyCastle, iirc) since it was sufficient for my needs. Anyway, you can use JNI to create a binding between the OpenSSL library and Java. This is a C layer and your main hassle will be ensuring that you hav

Java bindings

2005-09-25 Thread Chris Gray
Hello all, I'm looking for ways to use OpenSLL from Java on an embedded platform (J2ME CDC), in order to be able to take advantage of the hardware crypto acceleration which is available on that platform. Does anyone out there have experience of this? Google comes up with a number of projects: