Exemplo n.º 1
0
 def __init__(self):
     self.certdb_dir = os.path.expanduser(config.NSS_DB_DIR)
     nss.nss_init(self.certdb_dir)
     nss.enable_ocsp_checking()
     self.certdb = nss.get_default_certdb()
Exemplo n.º 2
0
 def test_enable_ocsp_checking(self):
     nss.enable_ocsp_checking()
     nss.disable_ocsp_checking()
     nss.enable_ocsp_checking(self.certdb)
     nss.disable_ocsp_checking(self.certdb)
Exemplo n.º 3
0
 def __init__(self):
     self.certdb_dir = os.path.expanduser(config.NSS_DB_DIR)
     nss.nss_init(self.certdb_dir)
     nss.enable_ocsp_checking()
     self.certdb = nss.get_default_certdb()
Exemplo n.º 4
0
 def test_enable_ocsp_checking(self):
     nss.enable_ocsp_checking()
     nss.disable_ocsp_checking()
     nss.enable_ocsp_checking(self.certdb)
     nss.disable_ocsp_checking(self.certdb)