在C#中使用Java创建的KeyStore文件 [英] Using java created KeyStore file in c#

查看:797
本文介绍了在C#中使用Java创建的KeyStore文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经获得了在c#中提供两个方法的任务,这些方法应该从使用Java KeyTool创建的文件中读取公钥/私钥对.我的主要问题是我无法在c#中找到与Java KeyStore类相同的类.有谁知道我该如何从C#中的此文件中提取公钥和私钥.

最好的问候,Shadbad

Hi,

I''ve been given the task to provide two methods in c# which should read Public/private key pairs from a file which had been created with the java KeyTool. My main problem is that I can''t find any equivalent class in c# to the java KeyStore class. Does anyone know how I should extract the public and the private keys from this file in C#.

Best regards, Shadbad

推荐答案

那里是密码学名称空间,所有东西都存放在这里.
There''s the Cryptography namespace, that''s where all that stuff lives.


这篇关于在C#中使用Java创建的KeyStore文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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