【发布时间】:2011-07-07 13:31:01
【问题描述】:
有一组 CryptoApi 函数可与加密服务提供商 (CSP) 一起使用。
CPAcquireContext
CPCreateHash
CPDecrypt
CPDeriveKey
CPDestroyHash
CPDestroyKey
CPDuplicateHash
CPDuplicateKey
CPEncrypt
CPExportKey
CPGenKey
CPGenRandom
CPGetHashParam
CPGetKeyParam
CPGetProvParam
CPGetUserKey
CPHashData
CPHashSessionKey
CPImportKey
CPReleaseContext
CPSetHashParam
CPSetKeyParam
CPSetProvParam
CPSignHash
CPVerifySignature
是的,我知道有 System.Cryptography 命名空间。但我不需要他们的实现。
是否有任何现成的库为这些函数提供 .NET 包装器?
【问题讨论】:
-
System.Security.Cryptography 命名空间是围绕 Windows CryptoAPI 的包装器。
-
好的,我应该使用什么类来与第三方 CSP 合作?
标签: c# .net cryptography cryptoapi mscapi