(self)
| 1164 | |
| 1165 | @_sslcopydoc |
| 1166 | def get_verified_chain(self): |
| 1167 | chain = self._sslobj.get_verified_chain() |
| 1168 | |
| 1169 | if chain is None: |
| 1170 | return [] |
| 1171 | |
| 1172 | return [cert.public_bytes(_ssl.ENCODING_DER) for cert in chain] |
| 1173 | |
| 1174 | @_sslcopydoc |
| 1175 | def get_unverified_chain(self): |
nothing calls this directly
no test coverage detected