login about faq

Hi,

I have a digital certificate on my computer, and I'm writing a C++ program that uses the certificate's private key to generate a digital signature. My question is: is it possible to pass the WHOLE certificate as a parameter, which is of type (CkCert *) from one function to another, so that the digital signature can be verified using the certificate's public key? And if so, which CkCert method should I use?

Regards.

asked May 19 '13 at 12:29

rania's gravatar image

rania
45182228


I don't really understand the question. How would this be different than simply passing the pointer to the object in a method's arguments? Am I missing something here? In other words, CkCert * is a pointer to an object just like any other object. Just pass the pointer.

link

answered May 19 '13 at 21:42

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×26

Asked: May 19 '13 at 12:29

Seen: 632 times

Last updated: May 19 '13 at 21:42

powered by OSQA