Win CE 6.0 + ARM + openssl

2010-07-16 Thread Mark Bishop
Thank you very much so far with all the input you have given me. I have few more questions. I am going to have to give up on interfacing with the Windows Crypto library and put openssl on my client as well. However, my client will be running Windows CE 6.0 with an ARM processor. Are the

Certificate Signature Creation

2010-07-15 Thread Mark Bishop
Where can I find out the details on how a signature is created for a certificate and how it differs from creating a signature on a data file? Is it as simple as running MD5, SHA-1, SHA-256, etc on the cert, encrypting the hash with the private key and sticking the results on the end of the

DER public key - differing keylengths?

2010-07-06 Thread Mark Bishop
When I execute: //Convert public key from PEM to DER openssl rsa -inform PEM -in public_key.pem -out public_key.der -outform DER -pubin -pubout I get a 162 byte file. When I execute: //Create public key in DER format openssl rsa -in private_key.pem -pubout -outform DER -out public_key.der

Re: openssl & Window's Crypt library

2010-07-04 Thread Mark Bishop
. But some Microsoft component did not like it - the prepended octect caused the length of the array to change from 128 bytes to 129 bytes. Jeff On Fri, Jul 2, 2010 at 10:51 AM, Mark Bishop wrote: I am trying to take a DER formatted public key and putting the key into the Window's Crypt l

openssl & Window's Crypt library

2010-07-02 Thread Mark Bishop
I am trying to take a DER formatted public key and putting the key into the Window's Crypt library so that my Windows machine can send my linux machine encrypted data. Trying to compile openssl for Windows is not on the table right now. I am being forced to use the Windows Crypt library.