Changeset 4671 for TI12-security/trunk/python
- Timestamp:
- 17/12/08 11:12:08 (12 years ago)
- Location:
- TI12-security/trunk/python
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/python/MyProxyClient/setup.py
r4642 r4671 39 39 maintainer_email = 'Philip.Kershaw@stfc.ac.uk', 40 40 url = 'http://proj.badc.rl.ac.uk/ndg/wiki/Security', 41 platforms = ['POSIX', 'Linux'], 41 42 install_requires = ['M2Crypto'], 42 43 license = __license__, … … 46 47 'test': ['*.cfg', '*.conf', '*.crt', '*.key', 'README'] 47 48 }, 49 classifiers=[ 50 'Development Status :: 4 - Beta', 51 'Environment :: Console', 52 'Environment :: Web Environment', 53 'Intended Audience :: End Users/Desktop', 54 'Intended Audience :: Developers', 55 'Intended Audience :: System Administrators', 56 'Intended Audience :: Science/Research', 57 'License :: <TODO> :: <TODO>', 58 'Natural Language :: English', 59 'Operating System :: Microsoft :: Windows', 60 'Operating System :: POSIX :: Linux', 61 'Programming Language :: Python', 62 'Topic :: Security', 63 'Topic :: Internet', 64 'Topic :: Scientific/Engineering', 65 'Topic :: System :: Distributed Computing', 66 'Topic :: System :: Systems Administration :: Authentication/Directory', 67 ], 48 68 zip_safe = True 49 69 ) -
TI12-security/trunk/python/ndg.security.common/ndg/security/common/X509.py
r4654 r4671 415 415 416 416 @classmethod 417 def Read(cls, filePath, **isValidTimeKw):417 def Read(cls, filePath, warningStackLevel=4, **isValidTimeKw): 418 418 """Create a new X509 certificate read in from a file""" 419 419 420 420 x509Cert = cls(filePath=filePath) 421 421 422 if 'warningStackLevel' not in isValidTimeKw: 423 isValidTimeKw['warningStackLevel'] = 4 424 425 x509Cert.read(**isValidTimeKw) 422 x509Cert.read(warningStackLevel=warningStackLevel, **isValidTimeKw) 426 423 427 424 return x509Cert 428 425 429 426 @classmethod 430 def Parse(cls, x509CertTxt, **isValidTimeKw):427 def Parse(cls, x509CertTxt, warningStackLevel=4, **isValidTimeKw): 431 428 """Create a new X509 certificate from string of file content""" 432 429 433 430 x509Cert = cls() 434 431 435 if 'warningStackLevel' not in isValidTimeKw: 436 isValidTimeKw['warningStackLevel'] = 4 437 438 x509Cert.parse(x509CertTxt, **isValidTimeKw) 432 x509Cert.parse(x509CertTxt, 433 warningStackLevel=warningStackLevel, 434 **isValidTimeKw) 439 435 440 436 return x509Cert 441 437 442 438 # Alternative AttCert constructors 443 def X509CertRead(filePath, **isValidTimeKw):439 def X509CertRead(filePath, warningStackLevel=4, **isValidTimeKw): 444 440 """Create a new X509 certificate read in from a file""" 445 441 446 x509Cert = X509Cert(filePath=filePath) 447 448 if 'warningStackLevel' not in isValidTimeKw: 449 isValidTimeKw['warningStackLevel'] = 4 450 451 x509Cert.read(**isValidTimeKw) 442 x509Cert = X509Cert(filePath=filePath) 443 x509Cert.read(warningStackLevel=warningStackLevel, **isValidTimeKw) 452 444 453 445 return x509Cert 454 446 455 def X509CertParse(x509CertTxt, **isValidTimeKw):447 def X509CertParse(x509CertTxt, warningStackLevel=4, **isValidTimeKw): 456 448 """Create a new X509 certificate from string of file content""" 457 449 458 450 x509Cert = X509Cert() 459 if 'warningStackLevel' not in isValidTimeKw: 460 isValidTimeKw['warningStackLevel'] = 4 461 462 x509Cert.parse(x509CertTxt, **isValidTimeKw) 451 x509Cert.parse(x509CertTxt, 452 warningStackLevel=warningStackLevel, 453 **isValidTimeKw) 463 454 464 455 return x509Cert -
TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthorityclient/attAuthorityClientTest.cfg
r4575 r4671 11 11 # ! SiteBMapConfig.xml trusted site A aaURI setting must agree with this 12 12 # setting for test6GetMappedAttCert 13 uri = http://localhost:5000/AttributeAuthority13 #uri = http://localhost:5000/AttributeAuthority 14 14 15 15 # With TCP Mon: 16 #uri = http://localhost:4999/AttributeAuthority16 uri = http://localhost:4999/AttributeAuthority 17 17 18 18 # For https connections only. !Omit ssl* settings if using http!
Note: See TracChangeset
for help on using the changeset viewer.