Ignore:
Timestamp:
21/12/09 16:40:20 (10 years ago)
Author:
pjkersha
Message:

Adding information about requested attributes for the decide page interface of the OpenID Provider.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/MyProxyClient/myproxy/client.py

    r6107 r6202  
    10651065                                                    (nCerts, len(pemCerts))) 
    10661066     
    1067         # Return certs and private key 
    1068         # - proxy cert 
    1069         # - private key 
    1070         # - rest of cert chain 
    1071         if keys is not None: 
    1072             pemKey = keys.as_pem(cipher=None) 
     1067        if key is not None: 
     1068            # Return certs and private key 
     1069            # - proxy or dynamically issued certificate (MyProxy CA mode) 
     1070            # - private key 
     1071            # - rest of cert chain if proxy cert issued 
     1072            pemKey = key.as_pem(cipher=None) 
    10731073            creds = [pemCerts[0], pemKey] 
    10741074            creds.extend(pemCerts[1:]) 
    10751075        else: 
     1076            # Key generated externally - return certificate chain only 
    10761077            creds = pemCerts 
     1078 
    10771079         
    10781080        return tuple(creds) 
Note: See TracChangeset for help on using the changeset viewer.