Private/Public keys over the network
[email protected] (Ramkumar Chinchani) 2 Aug 2001 22:25:50 EDT
| Newsgroups | perl.crypto |
|---|---|
| Message-ID | <[email protected]> |
I dont know if this is the right list for this question. However, here go= es. I wrote up a small server client setup, where the server generates public/private key pairs using Crypt::RSA written by Vipul Ved Prakash, a= nd I send the public key over from the server to the client. The other end receives it correctly, but isn't able to locate a method fo= r the object. Apparently, the entire object tree doesn't get sent over. Is ther= e any way around this? What would be the proper way to reinitialize the key obj= ect once it is received at the client end? Thanks. BTW, the error verbatim is: Can't locate object method "check" via package "Crypt::RSA::Key::Public=3DHASH(0x81c7c0c)" (perhaps you forgot to load "Crypt::RSA::Key::Public=3DHASH(0x81c7c0c)"?) at /usr/local/lib/perl5/site_perl/5.6.1/Crypt/RSA.pm line 95, <GEN0> line 1.=