Windows cryptoAPI如何在Mac OS X中移植/使用? [英] How can windows cryptoAPI be ported/used in Mac OS X?

查看:139
本文介绍了Windows cryptoAPI如何在Mac OS X中移植/使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个Windows应用程序,它使用在< wincrypt.h>中定义的Windows''cryptoAPI.具有Windows特定实现的用于加密/解密文件和文件夹的Windows头文件需要在Mac OS X上移植,这样在Windows上使用此应用程序加密的文件可以在Mac上解密,反之亦然.知道如何做到这一点吗?

A windows application which makes use of Windows'' cryptoAPI defined in <wincrypt.h> header file which has a windows specific implementation for encrypting/decrypting files and folders needs to be ported on Mac OS X such the file encrypted using this application on Windows can be decrypted on Mac and vice-versa. Any idea how this can be done?

推荐答案

它不能...

您将必须创建一个在两个操作系统中都实现的抽象层,这会隐藏实现

或购买具有相同功能的第三方库
it can''t ...

you''ll have to create an abstraction layer, implemented in both OS''s, which hides implementation

or buy a third party library that does the same


这篇关于Windows cryptoAPI如何在Mac OS X中移植/使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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