#NEWLINE# def test_verify_success( self ) : #NEWLINE# #INDENT# to_sign = b'foo' #NEWLINE# signer = PyCryptoSigner . from_string ( self . _load_private_key_bytes ( ) ) #NEWLINE# actual_signature = signer . sign ( verifier ) #NEWLINE# verifier = PyCryptoVerifier . from_string ( self . _load_public_cert_bytes ( ) , is_x509_cert = True ) #NEWLINE# self . assertTrue ( verifier . verify ( to_sign , actual_signature ) )