窗口C / C ++加密API的例子和技巧 [英] Window C/C++ Crypto API Examples and tips

查看:172
本文介绍了窗口C / C ++加密API的例子和技巧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我问这个问题,因为我已经花了一天中最好的部分,通过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....

  • 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆