适用于Python的Crypto/X509证书解析库 [英] Crypto/X509 certificate parsing libraries for Python

查看:312
本文介绍了适用于Python的Crypto/X509证书解析库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何推荐用于Python的加密库.我知道我曾经在 x509 Java证书解析库中问过类似的问题,但是我应该将这个问题一分为二.

Any recommended crypto libraries for Python. I know I've asked something similar in x509 certificate parsing libraries for Java, but I should've split the question in two.

我需要的是解析X.509证书以提取其中包含的信息的能力.

What I need is the ability to parse X.509 Certificates to extract the information contained in them.

环顾四周,我发现了两个选择:

Looking around, I've found two options:

  • Python OpenSSL Wrappers (http://sourceforge.net/projects/pow)
  • pyOpenSSL

在这两者中,pyOpenSSL似乎是最维护"的,但是我想对任何可能有经验的人提供一些反馈?

Of the two, pyOpenSSL seems to be the most "maintained", but I'd like some feedback on anybody who might have experience with them?

推荐答案

您可能想尝试 keyczar 正如我在另一篇文章中提到的那样,因为该库实际上具有python和java的实现.这样可以更轻松地在两种情况下使用它.

You might want to try keyczar as mentioned by me in your other post, since that library actually has implementations for both python and java. That would make it easier to use it in both contexts.

一个警告:我实际上并没有使用这个库8(,所以请带一点盐.

A word of warning: I have not actually used this library 8(, so please take this with a grain of salt.

这篇关于适用于Python的Crypto/X509证书解析库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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