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, NetscapeSPKIType)
        self.assertConsistentType(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, NetscapeSPKIType)
        self.assertConsistentType(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, NetscapeSPKIType)
        self.assertConsistentType(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, NetscapeSPKIType)
        self.assertConsistentType(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))