Re: java/openssl

2003-04-01 Thread Sly Upah
MD5withRSA on the java side to generate the sig which verifies correctly with Java code. On the C side: #include #include #include #include #include #include #include #include #include int main () { int i,err; char data[1024] = "abcdefg"; EVP_MD_CTX md_ctx; EVP

Re: java/openssl

2003-04-01 Thread Michelle Li
Um...are you using the exact same algorithm on both side? What about padding schemes? Can you give more details? I think as long as the algorithm is totally the same, it shouldn't matter if it is Java generated or openssl generated. Michelle On Tue, 1 Apr 2003, Sly Upah wrote: > Can anyone p

java/openssl

2003-04-01 Thread Sly Upah
Can anyone point me to source or give me instructions on how I can verify a Java generated signature? I can create a signature and verify it using pure openssl calls but anything coming from the Java side looks like the bytes are all screwed up. Do I have to do something special to massage the bit

Java -> OpenSSL

2001-12-05 Thread Rygg Christian Ingemann
Hi! I'm making a csr using the Java tool keytool, I am then going to sign it with the OpenSSL CA-functionality, but I can't. Here is what I get when I try to do so (sign.sh is a script I found with mod_ssl to sign certificates, but I don't think that's the problem): $ sign.sh Client.csr CA signi