登录
首页 » Python » 证书加密解密

证书加密解密

于 2017-12-20 发布
0 246
下载积分: 1 下载次数: 1

代码说明:

说明:  本次实验是基于广泛测试的公开加密库来实现数字签名服务。这里选择了 M2Crypto 加密库来实现,M2Crypto 加密库能够完整的支持 OpenSSL 库,所以会 更加方便点。而且这个库中包含有 RSA 非对称加密算法(M2Crypto.RSA),高级 的加密解密接口(M2Crypto.EVP),还能操作 X.509 证书(M2Crypto.X509)。我们 可以先通过 M2Crypto 库里的模块来生成证书、公钥文件和私钥文件,后面再利 用生成的证书、私钥和公钥来实现加密解密及数字签名认证。(This experiment is based on a widely tested public encryption library to implement digital signature services. Here is the choice The M2Crypto encryption library is implemented, and the M2Crypto encryption library can fully support the OpenSSL library, so it will It's more convenient. And this library contains a RSA asymmetric encryption algorithm (M2Crypto.RSA), high level The encryption and decryption interface (M2Crypto.EVP) can also operate the X.509 Certificate (M2Crypto.X509). We A certificate, a public key file, and a private key file can be generated by the modules of the M2Crypto repository first, and the later will be beneficial. The encrypted decryption and digital signature authentication are realized with the generated certificate, private key and public key.)

文件列表:

证书加密解密
证书加密解密\1.pdf, 765805, 2017-12-19
证书加密解密\python2.py, 6494, 2017-06-06
证书加密解密\sign-cret.cer, 1350, 2017-06-07
证书加密解密\sign-private.pem, 1704, 2017-06-07
证书加密解密\sign-public.pem, 451, 2017-06-07

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ask4
    4ASK调制解调,适用于MATLAB 2016 a。(4ASK modulation and demodulation, suitable for MATLAB 2016 a.)
    2020-12-30 11:09:01下载
    积分:1
  • 自动播放jQ焦点图
    说明:  全屏简洁带索引幻灯片是一款基于jquery的自动播放焦点图,可自行设置时(Full-screen concise slide with index is a jquery-based automatic playback focus map, which can be set by itself.)
    2019-03-22 10:34:27下载
    积分:1
  • zixiangguan
    说明:  利用自相关算法,得出圆迹SAR点目标的成像,可直接使用(The autocorrelation algorithm is used to obtain the image of circular track SAR point target, which can be used directly)
    2020-04-02 19:50:24下载
    积分:1
  • 大屏幕显示, 大屏幕显示, 大屏幕显示
    大屏幕显示, 大屏幕显示, 大屏幕显示-display
    2023-08-31 18:25:03下载
    积分:1
  • newmesh_3D
    说明:  三维voronoi多面体混凝土土骨料网格划分(Mesh generation of 3D Voronoi polyhedral concrete soil aggregate)
    2021-01-18 22:06:37下载
    积分:1
  • Generating PDF in Java by using iText JAR
    Generating PDF in Java by using iText JAR
    2018-03-21 20:04:13下载
    积分:1
  • JAVA
    说明:  定义长方体类Cuboid,要求如下:(1)私有成员变量包括长length、宽width和高height;(2)构造方法包括一个公共的空构造方法,一个能够初始化所有成员变量的构造方法;(3)包括所有的setter和getter方法,其中setter方法要求对形参进行验证,例如长、宽和高都大于0;(4)功能方法包括计算表面积getArea()、计算体积getCubage()、判断是否正方体isCube()、输出该长方体的长宽高printCuboid()、绘制该长方体(给出提示信息即可)drawing()。 测试一要求如下:(1)利用空构造方法创建一个新的长方体对象cuboidA,然后利用setter方法设置长宽高分别为1.5、2.6和18.6,(2)调用printCuboid()方法输出cuboidA的基本信息,调用isCube()方法判断是否正方体;(3)调用方法drawing()模拟绘制该长方体。 测试二要求如下:(1)利用构造方法创建一个具有长宽高分别为2.5、6.8和8.0的长方体对象cuboidB,然后利用setLength()方法修改length为4.6;(2)调用getArea()方法计算表面积;(3)调用getCubage计算该长方体的体积。(The cuboid class cuboid is defined as follows: (1) the private member variables include length, width and H eight; (2) the construction method includes a public empty construction method, a construction method that can initialize all member variables; (3) all setter and getter methods are included, where the setter method requires to verify the parameters, such as length, width and height are greater than 0 (4) the function methods include calculating the surface area getarea (), calculating the volume getcube (), judging whether the cube is iscube (), outputting the length, width and height printcube (), drawing the box (just give the prompt information) drawing ().)
    2021-05-07 10:58:37下载
    积分:1
  • 139个单片机程序
    说明:  STC12C5A60S2多个程序,用于简单学习(STC12C5A60S2 multiple procedures for simple learning)
    2020-06-19 10:40:02下载
    积分:1
  • 电子课程设计 电子时钟电路设计,功能齐全,解压密码是西南科技大学...
    电子课程设计 电子时钟电路设计,功能齐全,解压密码是西南科技大学-E-curriculum design electronic clock circuit design, a full-featured, unzip password is the Southwest University of Science and Technology
    2022-03-22 01:30:25下载
    积分:1
  • 讲述分组交换的概念,优缺点,和交换方式的比较,是数据通信方面的好ppt...
    讲述分组交换的概念,优缺点,和其他交换方式的比较,是数据通信方面的好ppt-The document gives the concept of packet switching, longcoming and shortcoming. And also give a compare with other techs. It s a good material about data communication.
    2022-03-11 05:59:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载