The help page for the Save method says that it can accept a type or a string, and that a string of "putty" yields a putty-format key, but there is no explanation of what type leads to which encryption algorithm. Is it just the types in System.Security.Cryptography (so, DES, RC2, and TripleDES)?

asked 11 May '10, 20:18

Bill%20W's gravatar image

Bill W
502
accept rate: 0%

edited 10 Aug '10, 13:22

Rebex%20KB's gravatar image

Rebex KB ♦♦
256312

After some experimentation it seems my guess was correct, but it'd be nice to see this information in the docs nonetheless.

(12 May '10, 00:12) Bill W

The intention of the help page was to explain that the OID strings (like "1.2.840.113549.3.7") are acceptable as encryptionAlgorithm argument, but it looks like this was not clear enough.

Additionally, algorithm name ("TripleDES", "RC2", ...) or type (typeof(System.Security.Cryptography.TripleDES), ...) is accepted as well.

We will update the help page (and the documentation file) to clearly state this, thanks for letting us know!

Update: The documentation has been updated in the current release of Rebex SFTP and SSH Shell.

link

answered 12 May '10, 12:38

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.2k18
accept rate: 32%

edited 28 May '10, 14:05

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:

×39
×4

Asked: 11 May '10, 20:18

Seen: 255 times

Last updated: 10 Aug '10, 13:22