diff --git a/src/cryptography/x509/ocsp.py b/src/cryptography/x509/ocsp.py index 1c5de73e4..905ae745a 100644 --- a/src/cryptography/x509/ocsp.py +++ b/src/cryptography/x509/ocsp.py @@ -312,7 +312,15 @@ class OCSPResponse(metaclass=abc.ABCMeta): class OCSPRequestBuilder(object): - def __init__(self, request=None, extensions=[]): + def __init__( + self, + request: typing.Optional[ + typing.Tuple[ + x509.Certificate, x509.Certificate, hashes.HashAlgorithm + ] + ] = None, + extensions: typing.List[x509.Extension[x509.ExtensionType]] = [], + ) -> None: self._request = request self._extensions = extensions