Home
last modified time | relevance | path

Searched refs:FILETYPE_PEM (Results 1 – 8 of 8) sorted by relevance

/external/python/pyopenssl/tests/
Dtest_crypto.py36 from OpenSSL.crypto import FILETYPE_PEM, FILETYPE_ASN1, FILETYPE_TEXT
61 return dump_privatekey(FILETYPE_PEM, load_privatekey(FILETYPE_PEM, pem))
1056 pkey = load_publickey(FILETYPE_PEM, cleartextPublicKeyPEM)
1066 pkey = load_privatekey(FILETYPE_PEM, root_key_pem)
1180 key = load_privatekey(FILETYPE_PEM, inconsistentPrivateKeyPEM)
1202 pkey = load_privatekey(FILETYPE_PEM, rsa_p_not_prime_pem)
1438 cert = load_certificate(FILETYPE_PEM, nulbyteSubjectAltNamePEM)
1447 cert = load_certificate(FILETYPE_PEM, nulbyteSubjectAltNamePEM)
1670 pkey = load_privatekey(FILETYPE_PEM, root_key_pem)
1672 another_pkey = load_privatekey(FILETYPE_PEM, client_key_pem)
[all …]
Dtest_ssl.py45 from OpenSSL.crypto import TYPE_RSA, FILETYPE_PEM
305 ctx.use_privatekey(load_privatekey(FILETYPE_PEM, server_key_pem))
306 ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem))
636 pem.write(dump_privatekey(FILETYPE_PEM, key).decode("ascii"))
658 FILETYPE_PEM,
668 FILETYPE_PEM,
700 ctx.use_certificate(load_certificate(FILETYPE_PEM, root_cert_pem))
709 ctx.use_certificate_file(object(), FILETYPE_PEM)
713 ctx.use_certificate_file(object(), FILETYPE_PEM)
762 key = load_privatekey(FILETYPE_PEM, client_key_pem)
[all …]
/external/python/oauth2client/oauth2client/
D_openssl_crypt.py70 pubkey = crypto.load_certificate(crypto.FILETYPE_PEM, key_pem)
72 pubkey = crypto.load_privatekey(crypto.FILETYPE_PEM, key_pem)
116 pkey = crypto.load_privatekey(crypto.FILETYPE_PEM, parsed_pem_key)
135 return crypto.dump_privatekey(crypto.FILETYPE_PEM,
/external/python/pyopenssl/src/OpenSSL/
Dcrypto.py68 FILETYPE_PEM = _lib.SSL_FILETYPE_PEM variable
1943 if type == FILETYPE_PEM:
1968 if type == FILETYPE_PEM:
1995 if type == FILETYPE_PEM:
2043 if type == FILETYPE_PEM:
2413 self, cert, key, type=FILETYPE_PEM, days=100, digest=_UNSPECIFIED
2784 if type != FILETYPE_PEM and passphrase is not None:
2868 if type == FILETYPE_PEM:
2905 if type == FILETYPE_PEM:
2934 if type == FILETYPE_PEM:
[all …]
DSSL.py25 FILETYPE_PEM,
703 FILETYPE_PEM, wrapper, more_args=True, truncate=True
831 def use_certificate_file(self, certfile, filetype=FILETYPE_PEM):
904 filetype = FILETYPE_PEM
/external/python/pyopenssl/doc/api/
Dcrypto.rst28 .. py:data:: FILETYPE_PEM
30 :data:`FILETYPE_PEM` serializes data to a Base64-encoded encoded representation of the underlying A…
Dssl.rst34 .. py:data:: FILETYPE_PEM
/external/python/pyopenssl/
DCONTRIBUTING.rst50 :param type: The file type (one of :data:`FILETYPE_PEM` or