ocsp_pyasn1.py
def _has_certs_in_ocsp_response(self, certs):
        """
        Check if the certificate is attached to OCSP response
        """
        if SnowflakeOCSPPyasn1._get_pyasn1_version() <= 3000:
            return certs is not None
        else:
            # behavior changed.
            return certs is not None and certs.hasValue() and certs[
                0].hasValue()

        Check if the certificate is attached to OCSP response
        
Check if the certificate is attached to OCSP response
Check if the certificate is attached to OCSP response
def _has_certs_in_ocsp_response(self, certs):
        if SnowflakeOCSPPyasn1._get_pyasn1_version() <= 3000:
            return certs is not None
        else:
            return certs is not None and certs.hasValue() and certs[
                0].hasValue()
def _has_certs_in_ocsp_response ( self , certs ) : if SnowflakeOCSPPyasn1 . _get_pyasn1_version ( ) <= 3000 : return certs is not None else : return certs is not None and certs . hasValue ( ) and certs [ 0 ] . hasValue ( )
Check if the certificate is attached to OCSP response
Check if the certificate is attached to OCSP response
"""
        Check if the certificate is attached to OCSP response
        """ # behavior changed.
self
certs