Back to product page

SSHKeyTypes Enumeration

List of available key types used by wodKeys.


SSH2 protocol specification defines RSA cipher as default, and it should be supported by all clients/servers, so it is advised you should use it. However, there are servers that prefer DSA algorithm to be used (due to RSA patent, which has in the meantime expired). EC (Elliptic Curve algorithms have been added in 2013).
Generate and Load methods support all of these types.

List of available key types used by wodKeys:

Constant Value Description
RSAkey 0 Uses RSA algorithm to create keys.
DSAkey 1 Uses DSA algorithm to create keys.
ECDSAkey 2 Uses ECDSA algorithm to create keys.