窗口C / C ++加密API的例子和技巧 [英] Window C/C++ Crypto API Examples and tips
问题描述
我问这个问题,因为我已经花了一天中最好的部分,通过MSDN文档和其他不透明的来源如何获得与Windows的C / C ++加密API开始一个简单的指引拖网捕鱼。
I'm asking this question because I've spent the best part of a day trawling through msdn docs and other opaque sources for simple straightforward guidelines on how to get started with the Windows C/C++ Crypto API.
我想看到的是一些示例code,典型的包括路径,连接指引等,真正有用的东西。我知道这是一个IM precise的问题,但我认为IM precise答案是更好地根本就没有。
What I'd like to see is some example code, typical include paths, linking guidelines, etc, anything useful really. I know this is an imprecise question but I reckon imprecise answers are better none at all.
我会得到球,我自己微薄的调查结果滚动...
I'll get the ball rolling with my own meager findings...
推荐答案
下面是我发现的例子一堆....
Here's a bunch of examples I've found....
- 实例C计划:清单在库中的证书
- 示例C程序:使用CryptAcquireContext
- 示例C程序:枚举CSP供应商和供应商类型
- 实例C code为打开证书存储一>
- 示例C程序:发送和接收签名和加密消息
- 实例C计划:签署哈希和验证哈希签名
- Example C Program: Listing the Certificates in a Store
- Example C Program: Using CryptAcquireContext
- Example C Program: Enumerating CSP Providers and Provider Types
- Example C Code for Opening Certificate Stores
- Example C Program: Sending and Receiving a Signed and Encrypted Message
- Example C Program: Signing a Hash and Verifying the Hash Signature
MSDN有这些例子散落在文档
MSDN has these examples scattered around the docs
这网站跨平台举例提供的概念很好的概述
This website provides a good overview of the concepts along with cross-platform examples
这篇关于窗口C / C ++加密API的例子和技巧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!