Ignore:
Timestamp:
24/11/09 14:14:53 (10 years ago)
Author:
pjkersha
Message:

Unit tested MSI PDP with per attribute entry attribute authority addresses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg_security_common/ndg/security/common/utils/m2crypto.py

    r6040 r6043  
    291291            
    292292        return ctx 
    293      
     293  
     294    def copy(self, sslCtxProxy): 
     295        """Copy settings from another context object 
     296        """ 
     297        if not isinstance(sslCtxProxy, SSLContextProxy): 
     298            raise TypeError('Expecting %r for copy method input object; ' 
     299                            'got %r' % (SSLContextProxy, type(sslCtxProxy))) 
     300         
     301        for name in SSLContextProxy.OPTNAMES: 
     302            setattr(self, name, getattr(self, sslCtxProxy)) 
     303             
    294304    def createVerifySSLPeerCertCallback(self): 
    295305        """Create a callback function to enable the DN of the peer in an SSL 
Note: See TracChangeset for help on using the changeset viewer.