Lines Matching refs:PKey
24 from OpenSSL.crypto import TYPE_RSA, TYPE_DSA, Error, PKey
794 pkey = PKey()
1023 pkey = PKey.from_cryptography_key(key)
1025 assert isinstance(pkey, PKey)
1035 pkey = PKey.from_cryptography_key(key)
1037 assert isinstance(pkey, PKey)
1050 PKey.from_cryptography_key(key)
1076 assert is_consistent_type(PKey, "PKey")
1082 key = PKey()
1083 assert isinstance(key, PKey)
1090 key = PKey()
1104 key = PKey()
1143 key = PKey()
1158 key = PKey()
1170 key = PKey()
1190 key = PKey()
1480 key = PKey()
1490 key = PKey()
1503 key = PKey()
1515 key = PKey()
1524 key = PKey()
1659 pkey = PKey()
2351 for bad_arg in [3, PKey(), X509]:
2357 for bad_arg in [3, X509(), (3, 4), (PKey(),)]:
2388 assert isinstance(p12.get_privatekey(), (PKey, type(None)))
2890 assert isinstance(key, PKey)
2934 assert isinstance(key, PKey)
2952 key = PKey()
2962 key = PKey()
2976 key = PKey()
2986 key = PKey()
2996 key = PKey()
3022 assert isinstance(loadedKey, PKey)
3160 assert isinstance(loadedKey, PKey)
3636 crl.export(X509(), PKey(), digest=b"sha256")