我们从Python开源项目中,提取了以下6个代码示例,用于说明如何使用OpenSSL.crypto.PKCS12Type()。
def test_type(self): """ L{PKCS12Type} is a type object. """ self.assertIdentical(PKCS12, PKCS12Type) self.assertConsistentType(PKCS12, 'PKCS12')
def test_type(self): """ `PKCS12Type` is a type object. """ assert PKCS12 is PKCS12Type assert is_consistent_type(PKCS12, 'PKCS12')
def test_type(self): """ :py:obj:`PKCS12Type` is a type object. """ self.assertIdentical(PKCS12, PKCS12Type) self.assertConsistentType(PKCS12, 'PKCS12')