diff options
| author | Mathias Ertl <mati@er.tl> | 2021-03-15 23:44:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-15 18:44:02 -0400 |
| commit | 8d41a94bba7674cfcb120ce7a76b7c3df5c2bb73 (patch) | |
| tree | 3ff165eb8711231b59f6e50ff5dda0c6c021a484 /.github | |
| parent | cd2ab9ec6c14333e10fb161295d5ae355c4a8f96 (diff) | |
| download | cryptography-8d41a94bba7674cfcb120ce7a76b7c3df5c2bb73.tar.gz | |
typehint x509.base (#5899)
* start typing x509.base
* statically type x509.base
* typehint X509Backend interface
* typehint at least the X509Backend interface
* make _CertificateRevocationList/_CertificateSigningRequest actual subclasses of the interface (as done before for Certificate in f16bff2cb)
* tell mypy to ignore lines with deliberately wrong types
* signature_hash_algorithm always returns a hash algorithm (it's not optional)
* Revert "signature_hash_algorithm always returns a hash algorithm (it's not optional)"
This reverts commit f6a5b172b416f8ddea561203c0cf03b55e4ec50e.
* hash algorithm is actually optional
* fix import style
* typehint parsed_version to int, which it de facto always is
* minimize changes
* break import cycle with conditional imports
* ignore access to private members of openssl implementation
* reformat code with Black
* test check for missing public key
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
