EldoS
Navigation
Web site
Support
Table Of Contents

Generate the asymmetric keypair

To generate the keypair, use Generate() method of the corresponding keypair class:

  • TElRSAKeyMaterial - for RSA keys
  • TElDSAKeyMaterial - for DSS keys
  • TElDHKeyMaterial - for Diffie-Hellman keys

You need to specify the key length in bits. The more bits the key includes, the stronger encryption is provided by the key. Minimal value which makes strong encryption is 1024 bits. Maximum is defined by the standard. For DSS, the length of the key must be less than 3072 bits (newer versions of the standard remove this limit, however not all software supports this).

The resulting key length can be a bith higher than the requested one (for example, 1032 bits instead of 1024 bits).

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation