#NEWLINE# def verify_cert( self , cert ) : #NEWLINE# #INDENT# 'Verify tls-sni-01 challenge certificate.\n\n        :param OpensSSL.crypto.X509 cert: Challenge certificate.\n\n        :returns: Whether the certificate was successfully verified.\n        :rtype: bool\n\n        ' #NEWLINE# sans = crypto_util . _pyopenssl_cert_or_req_san ( cert ) #NEWLINE# logging . debug ( 'Certificate %s. SANs: %s' , cert . digest ( 'sha1' ) , sans ) #NEWLINE# return ( self . z_domain . decode ( ) in sans )