微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Python OpenSSL.crypto 模块-NetscapeSPKIType() 实例源码

Python OpenSSL.crypto 模块,netscapeSPKIType() 实例源码

我们从Python开源项目中,提取了以下12代码示例,用于说明如何使用OpenSSL.crypto.netscapeSPKIType()

项目:hostapd-mana    作者:adde88    | 项目源码 | 文件源码
def test_type(self):
        """
        L{netscapeSPKI} and L{netscapeSPKIType} refer to the same type object
        and can be used to create instances of that type.
        """
        self.assertIdentical(netscapeSPKI, netscapeSPKIType)
        self.assertConsistentType(netscapeSPKI, 'netscapeSPKI')
项目:hostapd-mana    作者:adde88    | 项目源码 | 文件源码
def test_construction(self):
        """
        L{netscapeSPKI} returns an instance of L{netscapeSPKIType}.
        """
        nspki = netscapeSPKI()
        self.assertTrue(isinstance(nspki, netscapeSPKIType))
项目:2FAssassin    作者:maxwellkoh    | 项目源码 | 文件源码
def test_type(self):
        """
        `netscapeSPKI` and `netscapeSPKIType` refer to the same type object
        and can be used to create instances of that type.
        """
        assert netscapeSPKI is netscapeSPKIType
        assert is_consistent_type(netscapeSPKI, 'netscapeSPKI')
项目:2FAssassin    作者:maxwellkoh    | 项目源码 | 文件源码
def test_construction(self):
        """
        `netscapeSPKI` returns an instance of `netscapeSPKIType`.
        """
        nspki = netscapeSPKI()
        assert isinstance(nspki, netscapeSPKIType)
项目:sslstrip-hsts-openwrt    作者:adde88    | 项目源码 | 文件源码
def test_type(self):
        """
        L{netscapeSPKI} and L{netscapeSPKIType} refer to the same type object
        and can be used to create instances of that type.
        """
        self.assertIdentical(netscapeSPKI, 'netscapeSPKI')
项目:sslstrip-hsts-openwrt    作者:adde88    | 项目源码 | 文件源码
def test_construction(self):
        """
        L{netscapeSPKI} returns an instance of L{netscapeSPKIType}.
        """
        nspki = netscapeSPKI()
        self.assertTrue(isinstance(nspki, netscapeSPKIType))
项目:OneClickDTU    作者:satwikkansal    | 项目源码 | 文件源码
def test_type(self):
        """
        :py:obj:`netscapeSPKI` and :py:obj:`netscapeSPKIType` refer to the same type object
        and can be used to create instances of that type.
        """
        self.assertIdentical(netscapeSPKI, 'netscapeSPKI')
项目:OneClickDTU    作者:satwikkansal    | 项目源码 | 文件源码
def test_construction(self):
        """
        :py:obj:`netscapeSPKI` returns an instance of :py:obj:`netscapeSPKIType`.
        """
        nspki = netscapeSPKI()
        self.assertTrue(isinstance(nspki, netscapeSPKIType))
项目:Docker-XX-Net    作者:kuanghy    | 项目源码 | 文件源码
def test_type(self):
        """
        :py:obj:`netscapeSPKI` and :py:obj:`netscapeSPKIType` refer to the same type object
        and can be used to create instances of that type.
        """
        self.assertIdentical(netscapeSPKI, 'netscapeSPKI')
项目:Docker-XX-Net    作者:kuanghy    | 项目源码 | 文件源码
def test_construction(self):
        """
        :py:obj:`netscapeSPKI` returns an instance of :py:obj:`netscapeSPKIType`.
        """
        nspki = netscapeSPKI()
        self.assertTrue(isinstance(nspki, netscapeSPKIType))
项目:Docker-XX-Net    作者:kuanghy    | 项目源码 | 文件源码
def test_type(self):
        """
        L{netscapeSPKI} and L{netscapeSPKIType} refer to the same type object
        and can be used to create instances of that type.
        """
        self.assertIdentical(netscapeSPKI, 'netscapeSPKI')
项目:Docker-XX-Net    作者:kuanghy    | 项目源码 | 文件源码
def test_construction(self):
        """
        L{netscapeSPKI} returns an instance of L{netscapeSPKIType}.
        """
        nspki = netscapeSPKI()
        self.assertTrue(isinstance(nspki, netscapeSPKIType))

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐