Back to product page

CertKeyTypes Enumeration


Supported private key types.

Remarks

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) GenerateKey and LoadKey methods support both of these types.

Possible values for CertKeyTypes:

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

Platforms

Windows