home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / security / crypto / inituser / readme.txt < prev   
Text File  |  1996-01-18  |  831b  |  26 lines

  1. Initialize Client
  2.  
  3.  
  4. The INITUSER sample sets up the default cryptographic client. This sample
  5. (or its equivalent) must be run prior to running the other cryptography
  6. samples, so that they will work correctly.
  7.  
  8. The following operations are performed:
  9.  
  10. 1. A default key container is created.
  11. 2. A digital signature key pair is created within the key container.
  12. 3. A key exchange key pair is created within the key container.
  13.  
  14. These operations only need to be done once, unless the operating system
  15. is reinstalled. If the default key container and key pairs have already
  16. been created, this sample performs no operations.
  17.  
  18. The INITUSER sample uses the following CryptoAPI functions:
  19.  
  20.     CryptAcquireContext
  21.     CryptGetProvParam
  22.     CryptGenKey
  23.     CryptGetUserKey
  24.     CryptDestroyKey
  25.     CryptReleaseContext
  26.