Working with keys - WeOnlyDo Discussion board

Working with keys (wodFtpDLX / wodFtpDLX.NET)

by sstyer, Friday, August 12, 2011, 15:01 (4852 days ago)

I don't have a good understanding of how keys work / transferred between the software and who I'm transferring my file to.
I'm working with another group that is controlling a mainframe that I'm transferring to.
Is the key, just stored in a file on the pc side?
if there is a link that would describe the process, it would really help me out. Thanks

Re: Working with keys

by wodDamir, Friday, August 12, 2011, 15:19 (4852 days ago) @ sstyer

Hi,

Keys work so that both client and server each have one. However, while client has a PrivateKey (which includes public key), server only has the public part of the key. When you connect to a server, client (wodFtpDLX) provides the key referenced in PrivateKey property, and server verifies if the two match.

Keys are usually stored in files.

You didn't specify which component you're using, but here's a sample code of using keys in wodFtpDLX ActiveX:

http://www.weonlydo.com/index.asp?kb=1&View=entry&EntryID=50

The same basically applies to .Net version, except in that case you would use wodKeyManager and it's ToXMLString method to pass key reference.

Hope this helps.

Regards,
Damba