DigitalSigner in Python

2009-04-23 Thread Good Z
Hello All, I need to digitally sign a document in python. Is there any equivalent directory in Python like the DigitalSigner we have in Java. Best Regards, Mike -- http://mail.python.org/mailman/listinfo/python-list

Python2.4 and HTTPS

2009-04-05 Thread Good Z
Dear all, I am using Python 2.4.3 for my project. We need to use HTTPS with python2.4.3 unfortunately it seems httplib is not working fine for me. Below is small code that works well with Python2.6.1 but not with Python2.4.3. Unfortunately its not possible for me to move away from Python 2.4.3.

Issues using SOAP/WSDL with HTTPS

2009-02-28 Thread Good Z
Hello all, I am new to SOAP/WebServices and getting error when using HTTPS with it. Any help is appreciated. here is what i am doing: import xml import fpconst import SOAPpy from SOAPpy import WSDL wsdlFile = 'https://..com/webService.wsdl' server = WSDL.Proxy(wsdlFile) It seems th

Getting Certification Chain from Digital Signature

2009-02-23 Thread Good Z
All, I need to extract certification chain/private key from digital signature certificate (DSC). The Digital Signature (DSC) is in PFX file format. I got the Java code but do not know the python equivalent in python. Any help will be appreciated. Best Regards, Mike -- http://mail.pyth

How to protect website from access without authentication?

2008-11-03 Thread Good Z
Dear All, We are developing a website and would like to password protect the whole site. If any user visit our site using ip address or using the http link, he/she will be asked for login password and then granted the access to whole site based on the correct password. Help will be appreciate

How to set cookie in client machine

2008-10-13 Thread Good Z
Hello, I want to set {name, value} cookie on client machine. My requirement is that when user comes to the website hosted on our server and login into his account, we would like to set user specific information in cookie (on his machine) that will be used later when HTTP request comes in. Is

How to set cookie in client machine

2008-10-13 Thread Good Z
Hello, I want to set {name, value} cookie on client machine. My requirement is that when user comes to the website hosted on our server and login into his account, we would like to set user specific information in cookie that will be used later. Is there a generic program that may help me out

Is vs Equality Operator

2008-05-01 Thread Good Z
Hello, I am having problem in using is. Here is what i am doing. x='' if x is None or x is '': return 1 The above statement does not return value 1. If i changed the above check to if x == None or x == '': return 1 Now it works fine. Any idea. What is happening here. I am usin

Calling Java Class from python

2008-04-17 Thread Good Z
All, We have developed a website in python and we need to integrate few features of third party website. They have provided us Base64EncoderDecoder Java Class and would like us to use it to encode the data before sending it to their site and decode it when received anything from their site. I