Home
last modified time | relevance | path

Searched refs:TYPE_RSA (Results 1 – 4 of 4) sorted by relevance

/external/python/pyopenssl/tests/
Dtest_crypto.py24 from OpenSSL.crypto import TYPE_RSA, TYPE_DSA, Error, PKey
795 pkey.generate_key(TYPE_RSA, 512)
1111 key.generate_key(TYPE_RSA, -1)
1113 key.generate_key(TYPE_RSA, 0)
1116 key.generate_key(TYPE_RSA, object())
1144 key.generate_key(TYPE_RSA, bits)
1145 assert key.type() == TYPE_RSA
1171 for type, bits in [(TYPE_RSA, 512), (TYPE_DSA, 576)]:
1191 key.generate_key(TYPE_RSA, 512)
1491 key.generate_key(TYPE_RSA, 512)
[all …]
Dtest_ssl.py45 from OpenSSL.crypto import TYPE_RSA, FILETYPE_PEM
252 cakey.generate_key(TYPE_RSA, 2048)
266 ikey.generate_key(TYPE_RSA, 2048)
280 skey.generate_key(TYPE_RSA, 2048)
612 key.generate_key(TYPE_RSA, 1024)
633 key.generate_key(TYPE_RSA, 1024)
871 key.generate_key(TYPE_RSA, 1024)
/external/python/pyopenssl/doc/api/
Dcrypto.rst164 .. py:data:: TYPE_RSA
/external/python/pyopenssl/src/OpenSSL/
Dcrypto.py74 TYPE_RSA = _lib.EVP_PKEY_RSA variable
305 if type == TYPE_RSA: