Question:
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.
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.