Ignore:
Timestamp:
16/12/08 16:43:38 (11 years ago)
Author:
pjkersha
Message:
  • Completed Attribute Authority unit test
  • re-issued out of date test certs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.common/ndg/security/common/AttCert.py

    r4500 r4667  
    10961096        return True 
    10971097 
     1098    @classmethod 
     1099    def Read(cls, filePath): 
     1100        """Create a new attribute certificate read in from a file""" 
     1101        attCert = cls(filePath=filePath) 
     1102        attCert.read() 
     1103         
     1104        return attCert 
     1105 
     1106    @classmethod 
     1107    def Parse(cls, attCertTxt): 
     1108        """Create a new attribute certificate from string of file content""" 
     1109         
     1110        attCert = cls() 
     1111        attCert.parse(attCertTxt) 
     1112         
     1113        return attCert 
     1114         
    10981115# Alternative AttCert constructors 
    10991116def AttCertRead(filePath): 
Note: See TracChangeset for help on using the changeset viewer.