use more functions guaranteed available in cryptography 35.0 (#1060)
use more functions guaranteed available in cryptography 35.0 (#1060)

* use more functions guaranteed available in cryptography 35.0

* these are also guaranteed
pyca/pyopenssl