RE: RSA_private_decrypt without e and d

2011-02-24 Thread Shaheed Bacchus (sbacchus)
rcola owner-openssl-us...@openssl.org wrote on 02/24/2011 05:19:30 PM: > "Shaheed Bacchus (sbacchus)" > Sent by: owner-openssl-us...@openssl.org > > 02/24/2011 05:21 PM > > Please respond to > openssl-users@openssl.org > > To > > > > cc >

RE: RSA_private_decrypt without e and d

2011-02-24 Thread Shaheed Bacchus (sbacchus)
://www.idrix.fr On 2/24/2011 4:03 AM, Shaheed Bacchus (sbacchus) wrote: > > Just to be clear, below is not the actual code, but what I would > **like** to be able to do (or something close). > > *From:*owner-openssl-us...@openssl.org > [mailto:owner-openssl-us...@openssl.org]

RE: RSA_private_decrypt without e and d

2011-02-23 Thread Shaheed Bacchus (sbacchus)
Just to be clear, below is not the actual code, but what I would *like* to be able to do (or something close). From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Shaheed Bacchus (sbacchus) Sent: Wednesday, February 23, 2011 9:47 PM To: openssl-users

RSA_private_decrypt without e and d

2011-02-23 Thread Shaheed Bacchus (sbacchus)
Hi, I have a situation where I have a message that has been encrypted via RSA_public_encrypt. On the receiving end I have the n, p, q, dmp1, dmq1, and iqmp components (I know it might sound odd that I don't have the e and d components but that is the case). I'm trying to do something like:

Re: RE : changing certificate validity period

2003-09-02 Thread Shaheed Bacchus
509_gmtime_adj(X509_get_notBefore(Cert), (long)(0)); > X509_gmtime_adj(X509_get_notAfter(Cert), (long)(60.*60.*24.*60.)); > > I use those two functions and it works well! > > > -Message d'origine- > > De : [EMAIL PROTECTED] [mailto:owner-openssl- > > [EMAIL PR

changing certificate validity period

2003-09-02 Thread Shaheed Bacchus
i have an application that creates it's own certificates (built with 0.9.6j), i call X509_new() and then setup various fields (serial number, issuer name, etc). then i try to set the validity period to 60 days by doing something like: X509_gmtime_adj(X509_get_notBefore(Cert), 0); X509_gmtime_adj(X

Re: [Fwd: certificate verification problem]

2002-08-29 Thread Shaheed Bacchus
that's the general direction i was slowly moving towards. i guess one question that i have is since i have to use my code to do the verification process anyhow, is there any advantage to even using the X509_verify_cert() call? thanks once again. Lutz Jaenicke wrote: > > OpenSSL does not support

Re: [Fwd: certificate verification problem]

2002-08-29 Thread Shaheed Bacchus
hi lutz, you are correct, "issuer" is not self signed (in fact it's the cert that's provided by default with openssl in the apps/demoCA dir). so how do i tell the verification routine to not walk further down the tree? ideally i'd like to give it a cert that may or may not be self signed and

Re:

2001-09-04 Thread Shaheed Bacchus
; ====== > > - Original Message - > From: "Shaheed Bacchus" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, September 04, 2001 4:55 PM > Subject: Re: > > > hello, > >

Re:

2001-09-04 Thread Shaheed Bacchus
hello, i am trying to write a piece of code that will take an unsigned char* (called Data) and 3DES encode it and then store it in another unsigned char *. at the bottom of this message are two code snippets, #1 writes the encrypted data to a file BIO while #2 writes it to a mem BIO. #1 appe