Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.6 KiB

  1. CryptoAPI Tcl extensions
  2. ------------------------
  3. crypt [<handle>] list
  4. providers [type <provType>]
  5. crypt acquire \
  6. [provider <providerName>] \
  7. [type <provType>] \
  8. [{ container | keyset } <containerName>] \
  9. [verifycontext] [newkeyset] [deletekeyset] [machine] [silent] \
  10. [flags {<acquireFlag> [<acquireFlag> [...]]}]
  11. crypt <handle> release
  12. provider [flags {<emptyFlags> [<emptyFlags> [...]]}]
  13. key
  14. hash
  15. crypt <handle> parameter { provider | key | hash } <paramId> \
  16. [output {text | hex | file <fileName>}] \
  17. [flags {<paramFlags> [<paramFlags> [...]]}] \
  18. [input { text | hex | file}] [<value>]
  19. crypt <handle> get key <keyId>
  20. crypt <handle> create
  21. hash algorithm <algId>
  22. crypt <handle> hash \
  23. [flags {<hashFlag> [<hashFlag> [...]]}]
  24. [input { text | hex | file }] value
  25. crypt <handle> signhash \
  26. [output { text | hex | file <fileName> }] \
  27. key <keyId>
  28. [description <desc>] \
  29. [flags {<signFlag> [<signFlag> [...]]}] \
  30. crypt <handle> verifysignature \
  31. [output { text | hex | file <fileName> }] \
  32. key <hPubKey> \
  33. [description <desc>] \
  34. [flags {<signFlag> [<signFlag> [...]]}] \
  35. [input { text | hex | file }] value
  36. crypt <handle> encrypt \
  37. [output { text | hex | file <fileName> }] \
  38. [hash <hHash>] \
  39. [flags {<cryptFlag> [<cryptFlag> [...]]}] \
  40. [{more | final}] \
  41. [input { text | hex | file }] value
  42. crypt <handle> decrypt \
  43. [output { text | hex | file <fileName> }] \
  44. [hash <hHash>] \
  45. [flags {<cryptFlag> [<cryptFlag> [...]]}] \
  46. [{more | final}] \
  47. [input { text | hex | file }] value