Click here to Skip to main content
15,889,903 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 5:58
mve#realJSOP15-Oct-07 5:58 
GeneralRe: Plain C Question Pin
Matthew Faithfull15-Oct-07 6:13
Matthew Faithfull15-Oct-07 6:13 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 7:13
mve#realJSOP15-Oct-07 7:13 
GeneralRe: Plain C Question Pin
Matthew Faithfull15-Oct-07 7:24
Matthew Faithfull15-Oct-07 7:24 
GeneralRe: Plain C Question Pin
led mike15-Oct-07 6:20
led mike15-Oct-07 6:20 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 6:36
mve#realJSOP15-Oct-07 6:36 
GeneralRe: Plain C Question Pin
led mike15-Oct-07 6:46
led mike15-Oct-07 6:46 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 7:11
mve#realJSOP15-Oct-07 7:11 
led mike wrote:
So if you are on ASP.NET running under IIS why are you messing with this?


Because I don't know any better. Smile | :)

We don't need the sight to be a secure site. We just want to verify that the people trying to access it are coming from a another site through this crappy single sign-on code (I think they may have two or three users - counting our customer). Unfortunately, we're stuck with what the customer is using.

We get a query string that contains some data in the clear, some encrypted data, and a SSL signature. We already have the public key with which to verify the signature.

Everything is in place and ready to be "verified". That's all I need to do - *verify* the signature. This shouldn't require anything regarding SSL on the part of the server as far as I can tell (if it does, this just serves to illustrate my lack of knowledge in this area). Shouldn't I be able to simply verify the signature without having to make any changes on the IIS side? Shouldn't the crypto stuff in .Net let me do this?

The existing PHP code uses its internal openssl module and calls a single function with three parameters - the data, the public key, and the signature - and returns a 1 or a 0 to indicate success. I want to have a function that does exactly the same thing, but using the .Net crypto functionality, if possible. It appears as if it is possible, but I haven't been able to find anything that says how, and I can't find anyplace to ask other than here.




"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: Plain C Question Pin
led mike15-Oct-07 7:47
led mike15-Oct-07 7:47 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 8:42
mve#realJSOP15-Oct-07 8:42 
GeneralRe: Plain C Question Pin
led mike15-Oct-07 8:46
led mike15-Oct-07 8:46 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 9:59
mve#realJSOP15-Oct-07 9:59 
GeneralRe: Plain C Question Pin
Mike Dimmick15-Oct-07 12:55
Mike Dimmick15-Oct-07 12:55 
GeneralRe: Plain C Question Pin
Alex Cohn16-Oct-07 2:03
Alex Cohn16-Oct-07 2:03 
GeneralRe: Plain C Question Pin
Nemanja Trifunovic15-Oct-07 7:08
Nemanja Trifunovic15-Oct-07 7:08 
GeneralRe: Plain C Question Pin
Jörgen Sigvardsson15-Oct-07 9:15
Jörgen Sigvardsson15-Oct-07 9:15 
Questionvs2005 generated exe won't run :( Pin
hontonihanashita15-Oct-07 4:58
hontonihanashita15-Oct-07 4:58 
AnswerRe: vs2005 generated exe won't run :( Pin
#realJSOP15-Oct-07 5:51
mve#realJSOP15-Oct-07 5:51 
GeneralRe: vs2005 generated exe won't run :( Pin
hontonihanashita15-Oct-07 6:02
hontonihanashita15-Oct-07 6:02 
GeneralRe: vs2005 generated exe won't run :( Pin
Matthew Faithfull15-Oct-07 7:19
Matthew Faithfull15-Oct-07 7:19 
GeneralRe: vs2005 generated exe won't run :( Pin
hontonihanashita15-Oct-07 21:30
hontonihanashita15-Oct-07 21:30 
AnswerRe: vs2005 generated exe won't run :( [modified] Pin
hontonihanashita15-Oct-07 21:58
hontonihanashita15-Oct-07 21:58 
QuestionContainer or something likewise Pin
Rage15-Oct-07 4:18
professionalRage15-Oct-07 4:18 
AnswerRe: Container or something likewise Pin
led mike15-Oct-07 4:26
led mike15-Oct-07 4:26 
GeneralRe: Container or something likewise Pin
Rage15-Oct-07 4:35
professionalRage15-Oct-07 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.