Home
last modified time | relevance | path

Searched refs:cert_stack (Results 1 – 2 of 2) sorted by relevance

/external/python/pyopenssl/src/OpenSSL/
DSSL.py2131 def _cert_stack_to_list(cert_stack): argument
2137 for i in range(_lib.sk_X509_num(cert_stack)):
2138 cert = _lib.sk_X509_value(cert_stack, i)
2153 cert_stack = _lib.SSL_get_peer_cert_chain(self._ssl)
2154 if cert_stack == _ffi.NULL:
2157 return self._cert_stack_to_list(cert_stack)
2172 cert_stack = _lib.SSL_get0_verified_chain(self._ssl)
2173 if cert_stack == _ffi.NULL:
2176 return self._cert_stack_to_list(cert_stack)
Dcrypto.py1911 cert_stack = _lib.X509_STORE_CTX_get1_chain(self._store_ctx)
1912 _openssl_assert(cert_stack != _ffi.NULL)
1915 for i in range(_lib.sk_X509_num(cert_stack)):
1916 cert = _lib.sk_X509_value(cert_stack, i)
1922 _lib.sk_X509_free(cert_stack)