def decrypt_bigfile(infile, outfile, priv_key):
 if (not isinstance(priv_key, key.PrivateKey)):
  raise TypeError(('Private key required, but got %r' % priv_key))
 for block in varblock.yield_varblocks(infile):
  cleartext = pkcs1.decrypt(block, priv_key)
  outfile.write(cleartext)

def decrypt_bigfile ( infile , outfile , priv_key ) : if ( not isinstance ( priv_key , key . PrivateKey ) ) : raise TypeError ( ( 'Private key required, but got %r' % priv_key ) ) for block in varblock . yield_varblocks ( infile ) : cleartext = pkcs1 . decrypt ( block , priv_key ) outfile . write ( cleartext )
decrypts an encrypted varblock file .