#NEWLINE# def verify( self , key ) : #NEWLINE# #INDENT# '\n        Verifies a certificate request using the supplied public key\n\n        :param key: a public key\n        :return: True if the signature is correct.\n        :raise OpenSSL.crypto.Error: If the signature is invalid or there is a\n            problem verifying the signature.\n        ' #NEWLINE# answer = _lib . NETSCAPE_SPKI_verify ( self . _spki , key . _pkey ) #NEWLINE# if ( answer <= 0 ) : #NEWLINE# #INDENT# _raise_current_error ( ) #NEWLINE# #UNINDENT# return True