Changeset 4667 for TI12-security


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.
Location:
TI12-security/trunk/python
Files:
2 added
5 deleted
33 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): 
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/attributeauthority.py

    r4656 r4667  
    3535 
    3636# X509 Certificate handling 
    37 from ndg.security.common.X509 import * 
     37from ndg.security.common.X509 import X509Cert 
    3838 
    3939# NDG Attribute Certificate 
    40 from ndg.security.common.AttCert import * 
     40from ndg.security.common.AttCert import AttCert, AttCertRead, AttCertParse 
    4141 
    4242from ndg.security.common.utils.configfileparsers import \ 
     
    175175        # Instantiate Certificate object 
    176176        log.debug("Reading and checking Attribute Authority X.509 cert. ...") 
    177         self.__cert = X509Cert(self.__prop['signingCertFilePath']) 
    178         self.__cert.read() 
     177        self.__cert = X509Cert.Read(self.__prop['signingCertFilePath']) 
    179178 
    180179        # Check it's valid 
     
    493492 
    494493                # Certificate input as string text 
    495                 holderX509Cert = X509CertParse(holderX509Cert) 
     494                holderX509Cert = X509Cert.Parse(holderX509Cert) 
    496495                 
    497496            elif not isinstance(holderX509Cert, (X509Cert, None.__class__)): 
     
    541540        # Check for expiry of each certificate                    
    542541        for x509Cert in attCert.certFilePathList: 
    543             x509Cert.isValidTime(raiseExcep=True) 
     542            X509Cert.Read(x509Cert).isValidTime(raiseExcep=True) 
    544543                                                                 
    545544        attCert.signingKeyFilePath = self.__prop['signingPriKeyFilePath'] 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/XMLSecDoc/test.crt

    r3195 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 247 (0xf7) 
     4        Serial Number: 257 (0x101) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 10:19:47 2008 GMT 
    9             Not After : Jan  3 10:19:47 2009 GMT 
     8            Not Before: Dec 16 15:11:48 2008 GMT 
     9            Not After : Dec 15 15:11:48 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, CN=test 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         14:a1:1d:af:61:70:96:9a:2c:00:64:43:1c:13:17:f5:de:3c: 
    39         4c:a9:b5:81:7c:ce:30:4b:d1:79:36:08:6a:ae:3a:68:ca:43: 
    40         0e:e0:29:b1:b8:e9:46:aa:21:bc:a2:2b:9e:01:9a:d9:ed:69: 
    41         f3:5b:4e:4c:be:64:6e:eb:ac:36:37:0d:b1:a8:17:90:d8:1e: 
    42         3b:aa:9c:19:90:a5:cb:f0:65:f4:ac:5f:ca:76:a7:79:de:63: 
    43         9a:05:a0:a3:12:4f:ed:5b:4e:ca:7b:e5:2e:a2:5f:ad:2f:dc: 
    44         13:03:96:0d:8a:72:3e:32:43:47:1d:9c:66:01:1d:dc:fe:16: 
    45         7d:82 
     38        3c:2d:44:82:80:fd:03:ef:4e:eb:43:f9:52:cd:eb:0c:28:6f: 
     39        47:6c:76:7f:cb:97:ff:bc:3e:dc:69:4d:05:cd:00:ed:40:f4: 
     40        65:41:04:9e:05:26:9e:f9:1c:9b:56:13:38:2c:23:dc:42:0d: 
     41        9e:f3:fa:4b:a0:25:c6:3e:ac:d9:7f:2d:2d:63:d4:19:32:d5: 
     42        bb:6a:7d:dd:7e:72:ed:19:d8:93:a8:ac:48:4a:18:8f:39:b0: 
     43        fc:b8:9a:c9:01:f3:ae:6f:fb:84:d4:76:d1:30:04:fd:ac:44: 
     44        5b:ba:d2:ea:ce:dc:47:2e:70:54:35:15:d1:53:4c:41:0b:89: 
     45        71:28 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICazCCAdSgAwIBAgICAPcwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDEwMTk0 
    49 N1oXDTA5MDEwMzEwMTk0N1owLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICazCCAdSgAwIBAgICAQEwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTE0 
     49OFoXDTEzMTIxNTE1MTE0OFowLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MQ0wCwYDVQQDEwR0ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA 
    5151rpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xMieMZy9XQft2dFBDY 
     
    5555B0g11YOBgshZ0SpNwEEyhDzHUt3Ii2XmAh25/II08BR61fhMZvSJ/tVGJY4HfWG7 
    5656B4PZzYwo5vn/tYH1mk7w5QIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJ 
    57 KoZIhvcNAQEEBQADgYEAFKEdr2FwlposAGRDHBMX9d48TKm1gXzOMEvReTYIaq46 
    58 aMpDDuApsbjpRqohvKIrngGa2e1p81tOTL5kbuusNjcNsagXkNgeO6qcGZCly/Bl 
    59 9Kxfynaned5jmgWgoxJP7VtOynvlLqJfrS/cEwOWDYpyPjJDRx2cZgEd3P4WfYI= 
     57KoZIhvcNAQEEBQADgYEAPC1EgoD9A+9O60P5Us3rDChvR2x2f8uX/7w+3GlNBc0A 
     587UD0ZUEEngUmnvkcm1YTOCwj3EINnvP6S6Alxj6s2X8tLWPUGTLVu2p93X5y7RnY 
     59k6isSEoYjzmw/LiayQHzrm/7hNR20TAE/axEW7rS6s7cRy5wVDUV0VNMQQuJcSg= 
    6060-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attCert/test.crt

    r3175 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 247 (0xf7) 
     4        Serial Number: 257 (0x101) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 10:19:47 2008 GMT 
    9             Not After : Jan  3 10:19:47 2009 GMT 
     8            Not Before: Dec 16 15:11:48 2008 GMT 
     9            Not After : Dec 15 15:11:48 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, CN=test 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         14:a1:1d:af:61:70:96:9a:2c:00:64:43:1c:13:17:f5:de:3c: 
    39         4c:a9:b5:81:7c:ce:30:4b:d1:79:36:08:6a:ae:3a:68:ca:43: 
    40         0e:e0:29:b1:b8:e9:46:aa:21:bc:a2:2b:9e:01:9a:d9:ed:69: 
    41         f3:5b:4e:4c:be:64:6e:eb:ac:36:37:0d:b1:a8:17:90:d8:1e: 
    42         3b:aa:9c:19:90:a5:cb:f0:65:f4:ac:5f:ca:76:a7:79:de:63: 
    43         9a:05:a0:a3:12:4f:ed:5b:4e:ca:7b:e5:2e:a2:5f:ad:2f:dc: 
    44         13:03:96:0d:8a:72:3e:32:43:47:1d:9c:66:01:1d:dc:fe:16: 
    45         7d:82 
     38        3c:2d:44:82:80:fd:03:ef:4e:eb:43:f9:52:cd:eb:0c:28:6f: 
     39        47:6c:76:7f:cb:97:ff:bc:3e:dc:69:4d:05:cd:00:ed:40:f4: 
     40        65:41:04:9e:05:26:9e:f9:1c:9b:56:13:38:2c:23:dc:42:0d: 
     41        9e:f3:fa:4b:a0:25:c6:3e:ac:d9:7f:2d:2d:63:d4:19:32:d5: 
     42        bb:6a:7d:dd:7e:72:ed:19:d8:93:a8:ac:48:4a:18:8f:39:b0: 
     43        fc:b8:9a:c9:01:f3:ae:6f:fb:84:d4:76:d1:30:04:fd:ac:44: 
     44        5b:ba:d2:ea:ce:dc:47:2e:70:54:35:15:d1:53:4c:41:0b:89: 
     45        71:28 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICazCCAdSgAwIBAgICAPcwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDEwMTk0 
    49 N1oXDTA5MDEwMzEwMTk0N1owLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICazCCAdSgAwIBAgICAQEwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTE0 
     49OFoXDTEzMTIxNTE1MTE0OFowLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MQ0wCwYDVQQDEwR0ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA 
    5151rpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xMieMZy9XQft2dFBDY 
     
    5555B0g11YOBgshZ0SpNwEEyhDzHUt3Ii2XmAh25/II08BR61fhMZvSJ/tVGJY4HfWG7 
    5656B4PZzYwo5vn/tYH1mk7w5QIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJ 
    57 KoZIhvcNAQEEBQADgYEAFKEdr2FwlposAGRDHBMX9d48TKm1gXzOMEvReTYIaq46 
    58 aMpDDuApsbjpRqohvKIrngGa2e1p81tOTL5kbuusNjcNsagXkNgeO6qcGZCly/Bl 
    59 9Kxfynaned5jmgWgoxJP7VtOynvlLqJfrS/cEwOWDYpyPjJDRx2cZgEd3P4WfYI= 
     57KoZIhvcNAQEEBQADgYEAPC1EgoD9A+9O60P5Us3rDChvR2x2f8uX/7w+3GlNBc0A 
     587UD0ZUEEngUmnvkcm1YTOCwj3EINnvP6S6Alxj6s2X8tLWPUGTLVu2p93X5y7RnY 
     59k6isSEoYjzmw/LiayQHzrm/7hNR20TAE/axEW7rS6s7cRy5wVDUV0VNMQQuJcSg= 
    6060-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority/siteA/siteA-aa.crt

    r4654 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 54 (0x36) 
     4        Serial Number: 253 (0xfd) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Dec 12 13:52:16 2007 GMT 
    9             Not After : Dec 11 13:52:16 2008 GMT 
     8            Not Before: Dec 15 16:35:24 2008 GMT 
     9            Not After : Dec 14 16:35:24 2013 GMT 
    1010        Subject: O=NDG Security Test, OU=Site A, CN=AttributeAuthority 
    1111        Subject Public Key Info: 
     
    2424                Exponent: 65537 (0x10001) 
    2525        X509v3 extensions: 
    26             Netscape Cert Type: 
     26            Netscape Cert Type:  
    2727                SSL Client, SSL Server, S/MIME, Object Signing 
    2828    Signature Algorithm: md5WithRSAEncryption 
    29         9e:3d:25:d5:5c:13:b8:ea:8f:f5:8a:79:fc:3d:ab:5f:51:3b: 
    30         48:78:eb:a5:3e:34:3f:48:ee:8c:ad:4a:4e:b6:1d:f7:c1:0b: 
    31         21:de:46:ea:d4:76:0e:03:95:da:47:ec:4a:f4:10:b8:74:5d: 
    32         2c:7d:4b:19:a8:c0:a8:c4:ac:81:5e:3a:a4:64:e3:c9:2b:d6: 
    33         03:77:cc:bb:6a:99:85:90:fe:f8:da:2f:29:37:ab:ac:a7:b3: 
    34         5f:99:2a:52:54:3d:a7:cd:1b:a7:2f:28:e3:e0:91:51:a4:37: 
    35         51:d9:32:ac:3d:cc:17:73:e6:be:f3:4c:d9:77:8e:f1:25:85: 
    36         ed:7c 
     29        58:3d:38:b1:c0:41:f7:59:16:4f:ca:97:29:9c:8d:d8:46:79: 
     30        9c:11:6a:b3:a4:44:5e:d2:3e:75:d3:9a:66:de:d5:b6:26:87: 
     31        60:c5:c0:99:c4:56:fe:40:b0:f1:88:12:f9:49:65:fa:66:69: 
     32        03:0a:56:51:4f:64:47:f0:39:75:b8:88:0c:34:5b:c6:5c:f8: 
     33        04:90:9e:32:09:0e:fc:ec:54:df:5c:e6:be:aa:9a:db:75:32: 
     34        19:73:e1:b5:a4:ee:a3:c0:c6:da:e4:ab:e5:70:e4:e8:69:c9: 
     35        e6:c6:f4:58:1d:d4:82:c4:61:ed:5e:2b:c9:69:12:b4:89:82: 
     36        48:66 
    3737-----BEGIN CERTIFICATE----- 
    38 MIICBDCCAW2gAwIBAgIBNjANBgkqhkiG9w0BAQQFADAvMQwwCgYDVQQKEwNOREcx 
    39 DTALBgNVBAsTBEJBREMxEDAOBgNVBAMTB1Rlc3QgQ0EwHhcNMDcxMjEyMTM1MjE2 
    40 WhcNMDgxMjExMTM1MjE2WjBKMRowGAYDVQQKExFOREcgU2VjdXJpdHkgVGVzdDEP 
    41 MA0GA1UECxMGU2l0ZSBBMRswGQYDVQQDExJBdHRyaWJ1dGVBdXRob3JpdHkwgZ8w 
    42 DQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAKe1/6FTEUpfH8pjctfL9Fhz/KqF8gsz 
    43 yH3lzXif9Z1KqHysrdXGRS7mC6OUSAIdp8jYCM1klmol8obtm5xiZFyddsJfWo8g 
    44 Ypr5OWVshZ2xrnL8gX8OjYCg8wmdM0nZTUgF89Bds7lJ3j0699OLgKV2Tz3zvZEi 
    45 7M+YsgNwXJ2BAgMBAAGjFTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0B 
    46 AQQFAAOBgQCePSXVXBO46o/1inn8PatfUTtIeOulPjQ/SO6MrUpOth33wQsh3kbq 
    47 1HYOA5XaR+xK9BC4dF0sfUsZqMCoxKyBXjqkZOPJK9YDd8y7apmFkP742i8pN6us 
    48 p7NfmSpSVD2nzRunLyjj4JFRpDdR2TKsPcwXc+a+80zZd47xJYXtfA== 
     38MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     39MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
     40NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     41DzANBgNVBAsTBlNpdGUgQTEbMBkGA1UEAxMSQXR0cmlidXRlQXV0aG9yaXR5MIGf 
     42MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCntf+hUxFKXx/KY3LXy/RYc/yqhfIL 
     43M8h95c14n/WdSqh8rK3VxkUu5gujlEgCHafI2AjNZJZqJfKG7ZucYmRcnXbCX1qP 
     44IGKa+TllbIWdsa5y/IF/Do2AoPMJnTNJ2U1IBfPQXbO5Sd49OvfTi4Cldk89872R 
     45IuzPmLIDcFydgQIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJKoZIhvcN 
     46AQEEBQADgYEAWD04scBB91kWT8qXKZyN2EZ5nBFqs6REXtI+ddOaZt7VtiaHYMXA 
     47mcRW/kCw8YgS+Ull+mZpAwpWUU9kR/A5dbiIDDRbxlz4BJCeMgkO/OxU31zmvqqa 
     4823UyGXPhtaTuo8DG2uSr5XDk6GnJ5sb0WB3UgsRh7V4ryWkStImCSGY= 
    4949-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority/siteA/siteAAttAuthority.cfg

    r4654 r4667  
    4242# Settings for custom AAUserRoles derived class to get user roles for given  
    4343# user ID 
    44 userRolesModFilePath: $NDGSEC_AA_UNITTEST_DIR 
     44userRolesModFilePath: $NDGSEC_AA_UNITTEST_DIR/siteA 
    4545userRolesModName: siteAUserRoles 
    4646userRolesClassName: TestUserRoles 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority/siteB/siteBAttAuthority.cfg

    r4666 r4667  
    1212[DEFAULT] 
    1313# 'name' setting MUST agree with map config file 'thisHost' name attribute 
    14 name: Site A 
    15  
    16 # the port number the service is to run on  
    17 portNum: 5000 
    18  
    19 # Flag for SSL - set to something to stipulate http, leave blank to use http  
    20 useSSL: 
    21  
    22 # X.509 certificate for SSL connections - ignored if useSSL is blank  
    23 sslCertFile: $NDGSEC_AACLNT_UNITTEST_DIR/siteA-aa.crt 
    24  
    25 # Private key file for SSL  - ignored if useSSL is blank  
    26 sslKeyFile: $NDGSEC_AACLNT_UNITTEST_DIR/siteA-aa.key 
    27  
    28 # Password protecting private SSL key - leave blank if none set 
    29 sslKeyPwd:  
    30  
    31 # Directory containing CA cert.s to verify SSL peer cert against - ignored if  
    32 # useSSL is blank  
    33 sslCACertDir: $NDGSEC_AACLNT_UNITTEST_DIR/ca 
     14name: Site B 
    3415 
    3516# Lifetime is measured in seconds 
     
    3920attCertNotBeforeOff: 0 
    4021# All Attribute Certificates issued are recorded in this dir 
    41 attCertDir: $NDGSEC_AACLNT_UNITTEST_DIR/attCertLog 
     22attCertDir: $NDGSEC_AA_UNITTEST_DIR/siteB/attCertLog 
    4223# Files in attCertDir are stored using a rotating file handler 
    4324# attCertFileLogCnt sets the max number of files created before the first is overwritten 
     
    4627dnSeparator:/ 
    4728 
     29# Attribute Certificate signature 
     30signingPriKeyFilePath: $NDGSEC_AA_UNITTEST_DIR/siteB/siteB-aa.key 
     31signingCertFilePath: $NDGSEC_AA_UNITTEST_DIR/siteB/siteB-aa.crt 
     32caCertFilePathList: $NDGSEC_AA_UNITTEST_DIR/ca/ndg-test-ca.crt 
     33 
    4834# Location of role mapping file 
    49 mapConfigFile: $NDGSEC_AACLNT_UNITTEST_DIR/siteAMapConfig.xml 
     35mapConfigFile: $NDGSEC_AA_UNITTEST_DIR/siteB/siteBMapConfig.xml 
    5036 
    5137# Settings for custom AAUserRoles derived class to get user roles for given user ID 
    52 userRolesModFilePath: $NDGSEC_AACLNT_UNITTEST_DIR 
    53 userRolesModName: siteAUserRoles 
     38userRolesModFilePath: $NDGSEC_AA_UNITTEST_DIR/siteB 
     39userRolesModName: siteBUserRoles 
    5440userRolesClassName: TestUserRoles 
    5541userRolesPropFile:  
     
    6652# The CA certificates of other NDG trusted sites should go here.  NB, multiple 
    6753# values should be delimited by a space 
    68 caCertFilePathList: $NDGSEC_AACLNT_UNITTEST_DIR/ca/ndg-test-ca.crt $NDGSEC_AACLNT_UNITTEST_DIR/ca/cacert.pem 
     54caCertFilePathList: $NDGSEC_AA_UNITTEST_DIR/ca/ndg-test-ca.crt $NDGSEC_AA_UNITTEST_DIR/ca/cacert.pem 
    6955 
    7056# Signature of an outbound message 
     
    7662 
    7763# PEM encoded cert 
    78 signingCertFilePath: $NDGSEC_AACLNT_UNITTEST_DIR/siteA-aa.crt 
     64signingCertFilePath: $NDGSEC_AA_UNITTEST_DIR/siteB-aa.crt 
    7965 
    8066# ... or provide file path to PEM encoded private key file 
    81 signingPriKeyFilePath: $NDGSEC_AACLNT_UNITTEST_DIR/siteA-aa.key 
     67signingPriKeyFilePath: $NDGSEC_AA_UNITTEST_DIR/siteB-aa.key 
    8268 
    8369# Password protecting private key.  Leave blank if there is no password. 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority/test_attributeauthority.cfg

    r4654 r4667  
    77# This software may be distributed under the terms of the Q Public License, 
    88# version 1.0 or later. 
     9 
     10[DEFAULT] 
     11siteBPropFilePath=$NDGSEC_AA_UNITTEST_DIR/siteB/siteBAttAuthority.cfg 
    912 
    1013[setUp] 
     
    2629role = blah 
    2730  
    28 [test06GetAttCert] 
    29 # If clntcertfilepath is a proxy set this cert as the one that issued the  
    30 # proxy.  Comment out if clntcertfilepath is a standard X.509 cert. 
    31 #issuingclntcertfilepath = $NDGSEC_AA_UNITTEST_DIR/user-cert.pem 
    32  
    33 # Test with no digital signature applied 
    34 #issuingclntcertfilepath = $NDGSEC_AA_UNITTEST_DIR/proxy-cert.pem 
     31[test05GetAttCert] 
     32issuingClntCertFilePath = $NDGSEC_AA_UNITTEST_DIR/user.crt 
    3533 
    3634# Setup for use by test08GetMappedAttCert test 
    3735attCertFilePath = $NDGSEC_AA_UNITTEST_DIR/ac-clnt.xml 
    3836 
    39 [test07GetAttCertWithUserIdSet] 
     37[test06GetAttCertWithUserIdSet] 
    4038userId = system 
    4139attCertFilePath = $NDGSEC_AA_UNITTEST_DIR/ac-clnt-test6.xml 
    4240 
    43 [test08GetMappedAttCert] 
    44 uri = http://localhost:5100/AttributeAuthority 
     41[test07GetMappedAttCert] 
     42issuingClntCertFilePath = $NDGSEC_AA_UNITTEST_DIR/user.crt 
    4543userAttCertFilePath = $NDGSEC_AA_UNITTEST_DIR/ac-clnt.xml 
    4644mappedAttCertFilePath = $NDGSEC_AA_UNITTEST_DIR/mapped-ac.xml 
    4745 
    48 [test09GetMappedAttCertStressTest] 
    49 uri = http://localhost:5100/AttributeAuthority 
     46[test08GetMappedAttCertStressTest] 
    5047userAttCertFilePathList = $NDGSEC_AA_UNITTEST_DIR/ac-clnt.xml 
    5148 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority/test_attributeauthority.py

    r4654 r4667  
    2121logging.basicConfig() 
    2222 
    23 from ndg.security.common.utils.configfileparsers import \ 
    24     CaseSensitiveConfigParser 
    25 from ndg.security.server.attributeauthority import AttributeAuthority 
    26      
    2723from os.path import expandvars as xpdVars 
    2824from os.path import join as jnPath 
    2925mkPath = lambda file:jnPath(os.environ['NDGSEC_AA_UNITTEST_DIR'], file) 
    3026 
     27from ndg.security.common.utils.configfileparsers import \ 
     28    CaseSensitiveConfigParser 
     29from ndg.security.server.attributeauthority import AttributeAuthority, \ 
     30    AttributeAuthorityNoMatchingRoleInTrustedHosts 
     31 
     32from ndg.security.common.AttCert import AttCert 
     33 
    3134 
    3235class AttributeAuthorityTestCase(unittest.TestCase): 
     
    4851         
    4952        self.cfg = {} 
    50         for section in self.cfgParser.sections(): 
     53        for section in self.cfgParser.sections() + ['DEFAULT']: 
    5154            self.cfg[section] = dict(self.cfgParser.items(section)) 
    5255             
     
    5457                                propFilePath=self.cfg['setUp']['propFilePath'])             
    5558 
     59    _mkSiteBAttributeAuthority = lambda self: AttributeAuthority(\ 
     60                        propFilePath=self.cfg['DEFAULT']['siteBPropFilePath']) 
     61     
    5662    def test01GetHostInfo(self): 
    5763        """test01GetHostInfo: retrieve info for AA host""" 
    58         hostInfo = self.aa.getHostInfo() 
     64        hostInfo = self.aa.hostInfo 
    5965        print("Host Info:\n %s" % hostInfo)      
    6066 
    61 #    def test02GetTrustedHostInfo(self): 
    62 #        """test02GetTrustedHostInfo: retrieve trusted host info matching a 
    63 #        given role""" 
    64 #        trustedHostInfo = self.siteAClnt.getTrustedHostInfo(\ 
    65 #                                 self.cfg['test02GetTrustedHostInfo']['role']) 
    66 #        for hostname, hostInfo in trustedHostInfo.items(): 
    67 #            assert hostname, "Hostname not set" 
    68 #            for k, v in hostInfo.items(): 
    69 #                assert k, "hostInfo value key unset" 
    70 # 
    71 #        print "Trusted Host Info:\n %s" % trustedHostInfo 
    72 # 
    73 #    def test03GetTrustedHostInfoWithNoMatchingRoleFound(self): 
    74 #        """test03GetTrustedHostInfoWithNoMatchingRoleFound: test the case  
    75 #        where the input role doesn't match any roles in the target AA's map  
    76 #        config file""" 
    77 #        _cfg = self.cfg['test03GetTrustedHostInfoWithNoMatchingRoleFound'] 
    78 #        try: 
    79 #            trustedHostInfo = self.siteAClnt.getTrustedHostInfo(_cfg['role']) 
    80 #            self.fail("Expecting NoMatchingRoleInTrustedHosts exception") 
    81 #             
    82 #        except NoMatchingRoleInTrustedHosts, e: 
    83 #            print 'As expected - no match for role "%s": %s' % \ 
    84 #                (_cfg['role'], e) 
    85 # 
    86 # 
    87 #    def test04GetTrustedHostInfoWithNoRole(self): 
    88 #        """test04GetTrustedHostInfoWithNoRole: retrieve trusted host info  
    89 #        irrespective of role""" 
    90 #        trustedHostInfo = self.siteAClnt.getTrustedHostInfo() 
    91 #        for hostname, hostInfo in trustedHostInfo.items(): 
    92 #            assert hostname, "Hostname not set" 
    93 #            for k, v in hostInfo.items(): 
    94 #                assert k, "hostInfo value key unset" 
    95 #                assert v, ("%s value not set" % k) 
    96 #                    
    97 #        print "Trusted Host Info:\n %s" % trustedHostInfo 
    98 #         
    99 # 
    100 #    def test05GetAllHostsInfo(self): 
    101 #        """test05GetAllHostsInfo: retrieve info for all hosts""" 
    102 #        allHostInfo = self.siteAClnt.getAllHostsInfo() 
    103 #        for hostname, hostInfo in allHostInfo.items(): 
    104 #            assert hostname, "Hostname not set" 
    105 #            for k, v in hostInfo.items(): 
    106 #                assert k, "hostInfo value key unset" 
    107 #                    
    108 #        print "All Hosts Info:\n %s" % allHostInfo 
    109 # 
    110 # 
    111 #    def test06GetAttCert(self):         
    112 #        """test06GetAttCert: Request attribute certificate from NDG Attribute  
    113 #        Authority Web Service.""" 
    114 #        _cfg = self.cfg['test06GetAttCert'] 
    115 #         
    116 #        # Read user Certificate into a string ready for passing via WS 
    117 #        try: 
    118 #            userX509CertFilePath = xpdVars(_cfg.get('issuingClntCertFilePath')) 
    119 #            userX509CertTxt = open(userX509CertFilePath, 'r').read() 
    120 #         
    121 #        except TypeError: 
    122 #            # No issuing cert set 
    123 #            userX509CertTxt = None 
    124 #                 
    125 #        except IOError, ioErr: 
    126 #            raise Exception("Error reading certificate file \"%s\": %s" % \ 
    127 #                                    (ioErr.filename, ioErr.strerror)) 
    128 # 
    129 #        # Make attribute certificate request 
    130 #        attCert = self.siteAClnt.getAttCert(userX509Cert=userX509CertTxt) 
    131 #         
    132 #        print "Attribute Certificate: \n\n:" + str(attCert) 
    133 #         
    134 #        attCert.filePath = xpdVars(_cfg['attCertFilePath']) 
    135 #        attCert.write() 
    136 #         
    137 #         
    138 #    def test07GetAttCertWithUserIdSet(self):         
    139 #        """test07GetAttCertWithUserIdSet: Request attribute certificate from  
    140 #        NDG Attribute Authority Web Service setting a specific user Id  
    141 #        independent of the signer of the SOAP request.""" 
    142 #        _cfg = self.cfg['test07GetAttCertWithUserIdSet'] 
    143 #         
    144 #        # Read user Certificate into a string ready for passing via WS 
    145 #        try: 
    146 #            userX509CertFilePath = xpdVars(_cfg.get('issuingClntCertFilePath')) 
    147 #            userX509CertTxt = open(userX509CertFilePath, 'r').read() 
    148 #         
    149 #        except TypeError: 
    150 #            # No issuing cert set 
    151 #            userX509CertTxt = None 
    152 #                 
    153 #        except IOError, ioErr: 
    154 #            raise Exception("Error reading certificate file \"%s\": %s" % \ 
    155 #                                    (ioErr.filename, ioErr.strerror)) 
    156 # 
    157 #        # Make attribute certificate request 
    158 #        userId = _cfg['userId'] 
    159 #        attCert = self.siteAClnt.getAttCert(userId=userId, 
    160 #                                            userX509Cert=userX509CertTxt) 
    161 #         
    162 #        print "Attribute Certificate: \n\n:" + str(attCert) 
    163 #         
    164 #        attCert.filePath = xpdVars(_cfg['attCertFilePath']) 
    165 #        attCert.write() 
    166 # 
    167 # 
    168 #    def test08GetMappedAttCert(self):         
    169 #        """test08GetMappedAttCert: Request mapped attribute certificate from  
    170 #        NDG Attribute Authority Web Service.""" 
    171 #        _cfg = self.cfg['test08GetMappedAttCert'] 
    172 #         
    173 #        # Read user Certificate into a string ready for passing via WS 
    174 #        try: 
    175 #            userX509CertFilePath = xpdVars(_cfg.get('issuingClntCertFilePath')) 
    176 #            userX509CertTxt = open(userX509CertFilePath, 'r').read() 
    177 #         
    178 #        except TypeError: 
    179 #            # No issuing cert set 
    180 #            userX509CertTxt = None 
    181 #                 
    182 #        except IOError, ioErr: 
    183 #            raise Exception("Error reading certificate file \"%s\": %s" % \ 
    184 #                                    (ioErr.filename, ioErr.strerror)) 
    185 #     
    186 #        # Simlarly for Attribute Certificate  
    187 #        try: 
    188 #            userAttCert = AttCertRead(xpdVars(_cfg['userAttCertFilePath'])) 
    189 #             
    190 #        except IOError, ioErr: 
    191 #            raise Exception("Error reading attribute certificate file \"%s\": " 
    192 #                            "%s" % (ioErr.filename, ioErr.strerror)) 
    193 #         
    194 #        # Make client to site B Attribute Authority 
    195 #        siteBClnt = AttributeAuthority(uri=_cfg['uri'],  
    196 #                                       cfgFileSection='wsse', 
    197 #                                       cfg=self.cfgParser) 
    198 #     
    199 #        # Make attribute certificate request 
    200 #        attCert = siteBClnt.getAttCert(userX509Cert=userX509CertTxt, 
    201 #                                       userAttCert=userAttCert) 
    202 #        print "Attribute Certificate: \n\n:" + str(attCert) 
    203 #         
    204 #        attCert.filePath = xpdVars(_cfg['mappedAttCertFilePath']) 
    205 #        attCert.write() 
    206 #         
    207 #         
    208 #    def test09GetMappedAttCertStressTest(self):         
    209 #        """test09GetMappedAttCertStressTest: Request mapped attribute  
    210 #        certificate from NDG Attribute Authority Web Service.""" 
    211 #        _cfg = self.cfg['test09GetMappedAttCertStressTest'] 
    212 #         
    213 #        # Read user Certificate into a string ready for passing via WS 
    214 #        try: 
    215 #            userX509CertFilePath = xpdVars(_cfg.get('issuingClntCertFilePath')) 
    216 #            userX509CertTxt = open(userX509CertFilePath, 'r').read() 
    217 #         
    218 #        except TypeError: 
    219 #            # No issuing cert set 
    220 #            userX509CertTxt = None 
    221 #                 
    222 #        except IOError, ioErr: 
    223 #            raise Exception("Error reading certificate file \"%s\": %s" %  
    224 #                                    (ioErr.filename, ioErr.strerror)) 
    225 # 
    226 #        # Make client to site B Attribute Authority 
    227 #        siteBClnt = AttributeAuthority(uri=_cfg['uri'],  
    228 #                                       cfgFileSection='wsse', 
    229 #                                       cfg=self.cfgParser) 
    230 # 
    231 #        acFilePathList = [xpdVars(file) for file in \ 
    232 #                          _cfg['userAttCertFilePathList'].split()] 
    233 # 
    234 #        for acFilePath in acFilePathList: 
    235 #            try: 
    236 #                userAttCert = AttCertRead(acFilePath) 
    237 #                 
    238 #            except IOError, ioErr: 
    239 #                raise Exception("Error reading attribute certificate file " 
    240 #                                '"%s": %s' % (ioErr.filename, ioErr.strerror)) 
    241 #         
    242 #            # Make attribute certificate request 
    243 #            try: 
    244 #                attCert = siteBClnt.getAttCert(userX509Cert=userX509CertTxt, 
    245 #                                               userAttCert=userAttCert) 
    246 #            except Exception, e: 
    247 #                outFilePfx = 'test09GetMappedAttCertStressTest-%s' % \ 
    248 #                        os.path.basename(acFilePath)     
    249 #                msgFile = open(outFilePfx+".msg", 'w') 
    250 #                msgFile.write('Failed for "%s": %s\n' % (acFilePath, e)) 
    251  
     67    def test02GetTrustedHostInfo(self): 
     68        """test02GetTrustedHostInfo: retrieve trusted host info matching a 
     69        given role""" 
     70        thisSection = self.cfg['test02GetTrustedHostInfo'] 
     71         
     72        trustedHostInfo = self.aa.getTrustedHostInfo(thisSection['role']) 
     73        for hostname, hostInfo in trustedHostInfo.items(): 
     74            self.assert_(hostname, "Hostname not set") 
     75            for k, v in hostInfo.items(): 
     76                self.assert_(k, "hostInfo value key unset") 
     77 
     78        print("Trusted Host Info:\n %s" % trustedHostInfo) 
     79 
     80    def test03GetTrustedHostInfoWithNoMatchingRoleFound(self): 
     81        """test03GetTrustedHostInfoWithNoMatchingRoleFound: test the case  
     82        where the input role doesn't match any roles in the target AA's map  
     83        config file""" 
     84        thisSection=self.cfg['test03GetTrustedHostInfoWithNoMatchingRoleFound'] 
     85        try: 
     86            trustedHostInfo = self.aa.getTrustedHostInfo(thisSection['role']) 
     87            self.fail("Expecting NoMatchingRoleInTrustedHosts exception") 
     88             
     89        except AttributeAuthorityNoMatchingRoleInTrustedHosts, e: 
     90            print('PASSED - no match for role "%s": %s' % (thisSection['role'], 
     91                                                           e)) 
     92 
     93 
     94    def test04GetTrustedHostInfoWithNoRole(self): 
     95        """test04GetTrustedHostInfoWithNoRole: retrieve trusted host info  
     96        irrespective of role""" 
     97        trustedHostInfo = self.aa.getTrustedHostInfo() 
     98        for hostname, hostInfo in trustedHostInfo.items(): 
     99            self.assert_(hostname, "Hostname not set") 
     100            for k, v in hostInfo.items(): 
     101                self.assert_(k, "hostInfo value key unset") 
     102                self.assert_(v, "%s value not set" % k) 
     103                    
     104        print("Trusted Host Info:\n %s" % trustedHostInfo) 
     105 
     106    def test05GetAttCert(self):         
     107        """test05GetAttCert: Request attribute certificate from NDG Attribute  
     108        Authority Web Service.""" 
     109        thisSection = self.cfg['test05GetAttCert'] 
     110         
     111        # Read user Certificate into a string ready for passing via WS 
     112        try: 
     113            userX509CertFilePath = xpdVars(thisSection.get( 
     114                                                    'issuingClntCertFilePath')) 
     115            userX509CertTxt = open(userX509CertFilePath, 'r').read() 
     116         
     117        except TypeError: 
     118            # No issuing cert set 
     119            userX509CertTxt = None 
     120                 
     121        except IOError, ioErr: 
     122            raise Exception("Error reading certificate file \"%s\": %s" % 
     123                                    (ioErr.filename, ioErr.strerror)) 
     124 
     125        # Make attribute certificate request 
     126        attCert = self.aa.getAttCert(holderX509Cert=userX509CertTxt) 
     127         
     128        print("Attribute Certificate: \n\n:" + str(attCert)) 
     129         
     130        attCert.filePath = xpdVars(thisSection['attCertFilePath']) 
     131        attCert.write() 
     132         
     133         
     134    def test06GetAttCertWithUserIdSet(self):         
     135        """test06GetAttCertWithUserIdSet: Request attribute certificate from  
     136        NDG Attribute Authority Web Service setting a specific user Id  
     137        independent of the signer of the SOAP request.""" 
     138        thisSection = self.cfg['test06GetAttCertWithUserIdSet'] 
     139         
     140        # Make attribute certificate request 
     141        userId = thisSection['userId'] 
     142        attCert = self.aa.getAttCert(userId=userId) 
     143         
     144        print("Attribute Certificate: \n\n:" + str(attCert)) 
     145         
     146        attCert.filePath = xpdVars(thisSection['attCertFilePath']) 
     147        attCert.write() 
     148 
     149 
     150    def test07GetMappedAttCert(self):         
     151        """test07GetMappedAttCert: Request mapped attribute certificate from  
     152        NDG Attribute Authority Web Service.""" 
     153        thisSection = self.cfg['test07GetMappedAttCert'] 
     154         
     155        # Read user Certificate into a string ready for passing via WS 
     156        try: 
     157            userX509CertFilePath = xpdVars(thisSection.get( 
     158                                                    'issuingClntCertFilePath')) 
     159            userX509CertTxt = open(userX509CertFilePath, 'r').read() 
     160         
     161        except TypeError: 
     162            # No issuing cert set 
     163            userX509CertTxt = None 
     164                 
     165        except IOError, ioErr: 
     166            raise Exception("Error reading certificate file \"%s\": %s" %  
     167                                    (ioErr.filename, ioErr.strerror)) 
     168     
     169        # Simlarly for Attribute Certificate  
     170        try: 
     171            userAttCert = AttCert.Read( 
     172                                xpdVars(thisSection['userAttCertFilePath'])) 
     173             
     174        except IOError, ioErr: 
     175            raise Exception("Error reading attribute certificate file \"%s\": " 
     176                            "%s" % (ioErr.filename, ioErr.strerror)) 
     177         
     178        # Make client to site B Attribute Authority 
     179        siteBAA = self._mkSiteBAttributeAuthority() 
     180     
     181        # Make attribute certificate request 
     182        attCert = siteBAA.getAttCert(holderX509Cert=userX509CertTxt, 
     183                                     userAttCert=userAttCert) 
     184        print("Attribute Certificate: \n\n:" + str(attCert)) 
     185         
     186        attCert.filePath = xpdVars(thisSection['mappedAttCertFilePath']) 
     187        attCert.write() 
     188         
     189         
     190    def test08GetMappedAttCertStressTest(self):         
     191        """test08GetMappedAttCertStressTest: Request mapped attribute  
     192        certificate from NDG Attribute Authority Web Service.""" 
     193        thisSection = self.cfg['test08GetMappedAttCertStressTest'] 
     194         
     195        # Read user Certificate into a string ready for passing via WS 
     196        try: 
     197            userX509CertFilePath = xpdVars(thisSection.get( 
     198                                                    'issuingClntCertFilePath')) 
     199            userX509CertTxt = open(userX509CertFilePath, 'r').read() 
     200         
     201        except TypeError: 
     202            # No issuing cert set 
     203            userX509CertTxt = None 
     204                 
     205        except IOError, ioErr: 
     206            raise Exception("Error reading certificate file \"%s\": %s" %  
     207                                    (ioErr.filename, ioErr.strerror)) 
     208 
     209        # Make client to site B Attribute Authority 
     210        siteBAA = self._mkSiteBAttributeAuthority() 
     211 
     212        acFilePathList = [xpdVars(file) for file in \ 
     213                          thisSection['userAttCertFilePathList'].split()] 
     214 
     215        for acFilePath in acFilePathList: 
     216            try: 
     217                userAttCert = AttCert.Read(acFilePath) 
     218                 
     219            except IOError, ioErr: 
     220                raise Exception("Error reading attribute certificate file " 
     221                                '"%s": %s' % (ioErr.filename, ioErr.strerror)) 
     222         
     223            # Make attribute certificate request 
     224            try: 
     225                attCert = siteBAA.getAttCert(holderX509Cert=userX509CertTxt, 
     226                                             userAttCert=userAttCert) 
     227            except Exception, e: 
     228                outFilePfx = 'test08GetMappedAttCertStressTest-%s' % \ 
     229                        os.path.basename(acFilePath)     
     230                msgFile = open(outFilePfx+".msg", 'w') 
     231                msgFile.write('Failed for "%s": %s\n' % (acFilePath, e)) 
    252232                                         
    253233if __name__ == "__main__": 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthorityclient/siteA/siteA-aa.crt

    r4460 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 54 (0x36) 
     4        Serial Number: 253 (0xfd) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Dec 12 13:52:16 2007 GMT 
    9             Not After : Dec 11 13:52:16 2008 GMT 
     8            Not Before: Dec 15 16:35:24 2008 GMT 
     9            Not After : Dec 14 16:35:24 2013 GMT 
    1010        Subject: O=NDG Security Test, OU=Site A, CN=AttributeAuthority 
    1111        Subject Public Key Info: 
     
    2424                Exponent: 65537 (0x10001) 
    2525        X509v3 extensions: 
    26             Netscape Cert Type: 
     26            Netscape Cert Type:  
    2727                SSL Client, SSL Server, S/MIME, Object Signing 
    2828    Signature Algorithm: md5WithRSAEncryption 
    29         9e:3d:25:d5:5c:13:b8:ea:8f:f5:8a:79:fc:3d:ab:5f:51:3b: 
    30         48:78:eb:a5:3e:34:3f:48:ee:8c:ad:4a:4e:b6:1d:f7:c1:0b: 
    31         21:de:46:ea:d4:76:0e:03:95:da:47:ec:4a:f4:10:b8:74:5d: 
    32         2c:7d:4b:19:a8:c0:a8:c4:ac:81:5e:3a:a4:64:e3:c9:2b:d6: 
    33         03:77:cc:bb:6a:99:85:90:fe:f8:da:2f:29:37:ab:ac:a7:b3: 
    34         5f:99:2a:52:54:3d:a7:cd:1b:a7:2f:28:e3:e0:91:51:a4:37: 
    35         51:d9:32:ac:3d:cc:17:73:e6:be:f3:4c:d9:77:8e:f1:25:85: 
    36         ed:7c 
     29        58:3d:38:b1:c0:41:f7:59:16:4f:ca:97:29:9c:8d:d8:46:79: 
     30        9c:11:6a:b3:a4:44:5e:d2:3e:75:d3:9a:66:de:d5:b6:26:87: 
     31        60:c5:c0:99:c4:56:fe:40:b0:f1:88:12:f9:49:65:fa:66:69: 
     32        03:0a:56:51:4f:64:47:f0:39:75:b8:88:0c:34:5b:c6:5c:f8: 
     33        04:90:9e:32:09:0e:fc:ec:54:df:5c:e6:be:aa:9a:db:75:32: 
     34        19:73:e1:b5:a4:ee:a3:c0:c6:da:e4:ab:e5:70:e4:e8:69:c9: 
     35        e6:c6:f4:58:1d:d4:82:c4:61:ed:5e:2b:c9:69:12:b4:89:82: 
     36        48:66 
    3737-----BEGIN CERTIFICATE----- 
    38 MIICBDCCAW2gAwIBAgIBNjANBgkqhkiG9w0BAQQFADAvMQwwCgYDVQQKEwNOREcx 
    39 DTALBgNVBAsTBEJBREMxEDAOBgNVBAMTB1Rlc3QgQ0EwHhcNMDcxMjEyMTM1MjE2 
    40 WhcNMDgxMjExMTM1MjE2WjBKMRowGAYDVQQKExFOREcgU2VjdXJpdHkgVGVzdDEP 
    41 MA0GA1UECxMGU2l0ZSBBMRswGQYDVQQDExJBdHRyaWJ1dGVBdXRob3JpdHkwgZ8w 
    42 DQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAKe1/6FTEUpfH8pjctfL9Fhz/KqF8gsz 
    43 yH3lzXif9Z1KqHysrdXGRS7mC6OUSAIdp8jYCM1klmol8obtm5xiZFyddsJfWo8g 
    44 Ypr5OWVshZ2xrnL8gX8OjYCg8wmdM0nZTUgF89Bds7lJ3j0699OLgKV2Tz3zvZEi 
    45 7M+YsgNwXJ2BAgMBAAGjFTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0B 
    46 AQQFAAOBgQCePSXVXBO46o/1inn8PatfUTtIeOulPjQ/SO6MrUpOth33wQsh3kbq 
    47 1HYOA5XaR+xK9BC4dF0sfUsZqMCoxKyBXjqkZOPJK9YDd8y7apmFkP742i8pN6us 
    48 p7NfmSpSVD2nzRunLyjj4JFRpDdR2TKsPcwXc+a+80zZd47xJYXtfA== 
     38MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     39MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
     40NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     41DzANBgNVBAsTBlNpdGUgQTEbMBkGA1UEAxMSQXR0cmlidXRlQXV0aG9yaXR5MIGf 
     42MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCntf+hUxFKXx/KY3LXy/RYc/yqhfIL 
     43M8h95c14n/WdSqh8rK3VxkUu5gujlEgCHafI2AjNZJZqJfKG7ZucYmRcnXbCX1qP 
     44IGKa+TllbIWdsa5y/IF/Do2AoPMJnTNJ2U1IBfPQXbO5Sd49OvfTi4Cldk89872R 
     45IuzPmLIDcFydgQIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJKoZIhvcN 
     46AQEEBQADgYEAWD04scBB91kWT8qXKZyN2EZ5nBFqs6REXtI+ddOaZt7VtiaHYMXA 
     47mcRW/kCw8YgS+Ull+mZpAwpWUU9kR/A5dbiIDDRbxlz4BJCeMgkO/OxU31zmvqqa 
     4823UyGXPhtaTuo8DG2uSr5XDk6GnJ5sb0WB3UgsRh7V4ryWkStImCSGY= 
    4949-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthorityclient/siteB/siteB-aa.crt

    r4460 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 55 (0x37) 
     4        Serial Number: 254 (0xfe) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Dec 12 13:52:30 2007 GMT 
    9             Not After : Dec 11 13:52:30 2008 GMT 
     8            Not Before: Dec 16 14:44:15 2008 GMT 
     9            Not After : Dec 15 14:44:15 2013 GMT 
    1010        Subject: O=NDG Security Test, OU=Site B, CN=AttributeAuthority 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         23:67:52:67:36:32:ac:be:e1:76:70:c9:d5:a9:8b:27:08:db: 
    39         4a:42:6e:12:5e:9a:de:8d:f0:ce:8f:f0:92:ca:7c:1d:f3:20: 
    40         49:aa:c8:fa:59:76:85:02:66:13:57:b2:e3:90:4e:70:fd:6e: 
    41         ce:65:a6:dc:8c:90:7a:a8:8f:5e:31:f1:97:8c:dd:8b:48:e1: 
    42         64:e0:c1:45:09:7c:40:b1:8a:20:10:1d:b4:dd:c1:0f:ce:63: 
    43         76:02:1e:c4:42:d6:79:c9:76:94:a1:5a:ff:03:ec:93:59:d6: 
    44         74:3c:23:34:ab:0c:7e:49:2d:33:e9:0d:fb:cf:5a:91:53:12: 
    45         a8:1f 
     38        67:7b:01:05:ab:04:03:41:4f:ea:de:1e:e8:1f:43:5c:f3:1e: 
     39        dd:0b:b8:0f:73:67:0a:a4:10:3c:77:73:92:1c:a0:e5:50:97: 
     40        7a:33:da:1e:f9:03:a4:cc:71:31:b0:00:e7:79:9d:2a:d5:fa: 
     41        6b:61:a6:de:c0:7d:a7:a2:40:3a:cd:04:c7:59:92:05:d0:6e: 
     42        ee:18:4d:86:40:88:44:6c:fe:eb:24:1d:89:96:32:26:42:2e: 
     43        44:12:2b:a6:ea:f0:0c:17:9f:2d:8e:79:67:ee:05:9c:43:84: 
     44        e5:2b:5a:61:72:11:dd:92:b2:d8:44:0b:9d:0e:91:8c:4f:94: 
     45        28:a2 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICiDCCAfGgAwIBAgIBNzANBgkqhkiG9w0BAQQFADAvMQwwCgYDVQQKEwNOREcx 
    48 DTALBgNVBAsTBEJBREMxEDAOBgNVBAMTB1Rlc3QgQ0EwHhcNMDcxMjEyMTM1MjMw 
    49 WhcNMDgxMjExMTM1MjMwWjBKMRowGAYDVQQKExFOREcgU2VjdXJpdHkgVGVzdDEP 
    50 MA0GA1UECxMGU2l0ZSBCMRswGQYDVQQDExJBdHRyaWJ1dGVBdXRob3JpdHkwggEi 
    51 MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7qjNUBSSvCsu8OeFaNIyI933S 
    52 ni0fWeO0MFtinTYk9JDdS4v2/Oqw8/ZyksD2L4XOAFBuzAMcSmMgaFPLWVj1LvnT 
    53 K+OQpWjv+UQkfSdQQeIfc4wq7p64vS5Z1DyGYveJjUUO+DNP6CON3QxZlQoimIZl 
    54 oxXPEI3aByMYFttwOzN/2SV0Uq2vJVbIo+Wl4Z7YdEnbjw35Vt68jb5nHaZ3jNgZ 
    55 gRccDCu33Adq5nMp4qf5TDnJt7+14uay03kQEr3XLSAu5WMDBgACbqKCtNKtg/gW 
    56 JjdJ7we1Qct7Y0KONDUSzKmb5jUosi8E/4Fpp5wXyjcfMBOhnObHVI5fTq+JAgMB 
    57 AAGjFTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0BAQQFAAOBgQAjZ1Jn 
    58 NjKsvuF2cMnVqYsnCNtKQm4SXprejfDOj/CSynwd8yBJqsj6WXaFAmYTV7LjkE5w 
    59 /W7OZabcjJB6qI9eMfGXjN2LSOFk4MFFCXxAsYogEB203cEPzmN2Ah7EQtZ5yXaU 
    60 oVr/A+yTWdZ0PCM0qwx+SS0z6Q37z1qRUxKoHw== 
     47MIICiTCCAfKgAwIBAgICAP4wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE0NDQx 
     49NVoXDTEzMTIxNTE0NDQxNVowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     50DzANBgNVBAsTBlNpdGUgQjEbMBkGA1UEAxMSQXR0cmlidXRlQXV0aG9yaXR5MIIB 
     51IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu6ozVAUkrwrLvDnhWjSMiPd9 
     520p4tH1njtDBbYp02JPSQ3UuL9vzqsPP2cpLA9i+FzgBQbswDHEpjIGhTy1lY9S75 
     530yvjkKVo7/lEJH0nUEHiH3OMKu6euL0uWdQ8hmL3iY1FDvgzT+gjjd0MWZUKIpiG 
     54ZaMVzxCN2gcjGBbbcDszf9kldFKtryVWyKPlpeGe2HRJ248N+VbevI2+Zx2md4zY 
     55GYEXHAwrt9wHauZzKeKn+Uw5ybe/teLmstN5EBK91y0gLuVjAwYAAm6igrTSrYP4 
     56FiY3Se8HtUHLe2NCjjQ1Esypm+Y1KLIvBP+BaaecF8o3HzAToZzmx1SOX06viQID 
     57AQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJKoZIhvcNAQEEBQADgYEAZ3sB 
     58BasEA0FP6t4e6B9DXPMe3Qu4D3NnCqQQPHdzkhyg5VCXejPaHvkDpMxxMbAA53md 
     59KtX6a2Gm3sB9p6JAOs0Ex1mSBdBu7hhNhkCIRGz+6yQdiZYyJkIuRBIrpurwDBef 
     60LY55Z+4FnEOE5StaYXIR3ZKy2EQLnQ6RjE+UKKI= 
    6161-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthorityclient/test.crt

    r3189 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 247 (0xf7) 
     4        Serial Number: 257 (0x101) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 10:19:47 2008 GMT 
    9             Not After : Jan  3 10:19:47 2009 GMT 
     8            Not Before: Dec 16 15:11:48 2008 GMT 
     9            Not After : Dec 15 15:11:48 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, CN=test 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         14:a1:1d:af:61:70:96:9a:2c:00:64:43:1c:13:17:f5:de:3c: 
    39         4c:a9:b5:81:7c:ce:30:4b:d1:79:36:08:6a:ae:3a:68:ca:43: 
    40         0e:e0:29:b1:b8:e9:46:aa:21:bc:a2:2b:9e:01:9a:d9:ed:69: 
    41         f3:5b:4e:4c:be:64:6e:eb:ac:36:37:0d:b1:a8:17:90:d8:1e: 
    42         3b:aa:9c:19:90:a5:cb:f0:65:f4:ac:5f:ca:76:a7:79:de:63: 
    43         9a:05:a0:a3:12:4f:ed:5b:4e:ca:7b:e5:2e:a2:5f:ad:2f:dc: 
    44         13:03:96:0d:8a:72:3e:32:43:47:1d:9c:66:01:1d:dc:fe:16: 
    45         7d:82 
     38        3c:2d:44:82:80:fd:03:ef:4e:eb:43:f9:52:cd:eb:0c:28:6f: 
     39        47:6c:76:7f:cb:97:ff:bc:3e:dc:69:4d:05:cd:00:ed:40:f4: 
     40        65:41:04:9e:05:26:9e:f9:1c:9b:56:13:38:2c:23:dc:42:0d: 
     41        9e:f3:fa:4b:a0:25:c6:3e:ac:d9:7f:2d:2d:63:d4:19:32:d5: 
     42        bb:6a:7d:dd:7e:72:ed:19:d8:93:a8:ac:48:4a:18:8f:39:b0: 
     43        fc:b8:9a:c9:01:f3:ae:6f:fb:84:d4:76:d1:30:04:fd:ac:44: 
     44        5b:ba:d2:ea:ce:dc:47:2e:70:54:35:15:d1:53:4c:41:0b:89: 
     45        71:28 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICazCCAdSgAwIBAgICAPcwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDEwMTk0 
    49 N1oXDTA5MDEwMzEwMTk0N1owLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICazCCAdSgAwIBAgICAQEwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTE0 
     49OFoXDTEzMTIxNTE1MTE0OFowLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MQ0wCwYDVQQDEwR0ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA 
    5151rpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xMieMZy9XQft2dFBDY 
     
    5555B0g11YOBgshZ0SpNwEEyhDzHUt3Ii2XmAh25/II08BR61fhMZvSJ/tVGJY4HfWG7 
    5656B4PZzYwo5vn/tYH1mk7w5QIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJ 
    57 KoZIhvcNAQEEBQADgYEAFKEdr2FwlposAGRDHBMX9d48TKm1gXzOMEvReTYIaq46 
    58 aMpDDuApsbjpRqohvKIrngGa2e1p81tOTL5kbuusNjcNsagXkNgeO6qcGZCly/Bl 
    59 9Kxfynaned5jmgWgoxJP7VtOynvlLqJfrS/cEwOWDYpyPjJDRx2cZgEd3P4WfYI= 
     57KoZIhvcNAQEEBQADgYEAPC1EgoD9A+9O60P5Us3rDChvR2x2f8uX/7w+3GlNBc0A 
     587UD0ZUEEngUmnvkcm1YTOCwj3EINnvP6S6Alxj6s2X8tLWPUGTLVu2p93X5y7RnY 
     59k6isSEoYjzmw/LiayQHzrm/7hNR20TAE/axEW7rS6s7cRy5wVDUV0VNMQQuJcSg= 
    6060-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthorityclient/test_attributeauthorityclient.py

    r4654 r4667  
    2727from os.path import expandvars as xpdVars 
    2828from os.path import join as jnPath 
    29 mkPath = lambda file: jnPath(os.environ['NDGSEC_AA_UNITTEST_DIR'], file) 
     29mkPath = lambda file: jnPath(os.environ['NDGSEC_AACLNT_UNITTEST_DIR'], file) 
    3030 
    3131 
     
    5858            pdb.set_trace() 
    5959         
    60         if 'NDGSEC_AA_UNITTEST_DIR' not in os.environ: 
    61             os.environ['NDGSEC_AA_UNITTEST_DIR'] = \ 
     60        if 'NDGSEC_AACLNT_UNITTEST_DIR' not in os.environ: 
     61            os.environ['NDGSEC_AACLNT_UNITTEST_DIR'] = \ 
    6262                os.path.abspath(os.path.dirname(__file__)) 
    6363 
    6464        self.cfgParser = CaseSensitiveConfigParser() 
    65         cfgFilePath = jnPath(os.environ['NDGSEC_AA_UNITTEST_DIR'], 
    66                                 'attAuthorityClientTest.cfg') 
     65        cfgFilePath = jnPath(os.environ['NDGSEC_AACLNT_UNITTEST_DIR'], 
     66                             'attAuthorityClientTest.cfg') 
    6767        self.cfgParser.read(cfgFilePath) 
    6868         
     
    9595                                 self.cfg['test02GetTrustedHostInfo']['role']) 
    9696        for hostname, hostInfo in trustedHostInfo.items(): 
    97             assert hostname, "Hostname not set" 
     97            self.assert_(hostname, "Hostname not set") 
    9898            for k, v in hostInfo.items(): 
    99                 assert k, "hostInfo value key unset" 
     99                self.assert_(k, "hostInfo value key unset") 
    100100 
    101101        print "Trusted Host Info:\n %s" % trustedHostInfo 
     
    120120        trustedHostInfo = self.siteAClnt.getTrustedHostInfo() 
    121121        for hostname, hostInfo in trustedHostInfo.items(): 
    122             assert hostname, "Hostname not set" 
     122            self.assert_(hostname, "Hostname not set") 
    123123            for k, v in hostInfo.items(): 
    124                 assert k, "hostInfo value key unset" 
    125                 assert v, ("%s value not set" % k) 
     124                self.assert_(k, "hostInfo value key unset") 
     125                self.assert_(v, "%s value not set" % k) 
    126126                    
    127127        print "Trusted Host Info:\n %s" % trustedHostInfo 
     
    132132        allHostInfo = self.siteAClnt.getAllHostsInfo() 
    133133        for hostname, hostInfo in allHostInfo.items(): 
    134             assert hostname, "Hostname not set" 
     134            self.assert_(hostname, "Hostname not set") 
    135135            for k, v in hostInfo.items(): 
    136                 assert k, "hostInfo value key unset" 
     136                self.assert_(k, "hostInfo value key unset") 
    137137                    
    138138        print "All Hosts Info:\n %s" % allHostInfo 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/authnservice/sm.crt

    r4158 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 148 (0x94) 
     4        Serial Number: 255 (0xff) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Dec 12 16:25:29 2007 GMT 
    9             Not After : Dec 11 16:25:29 2008 GMT 
     8            Not Before: Dec 16 14:47:24 2008 GMT 
     9            Not After : Dec 15 14:47:24 2013 GMT 
    1010        Subject: O=NDG Security Test, OU=Site A, CN=SessionManager 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         89:35:41:c8:b8:11:b4:53:f2:32:47:38:20:81:f0:92:3d:03: 
    39         0c:70:07:99:6b:d2:28:51:80:8d:89:5b:15:e7:e2:5f:82:66: 
    40         ed:33:4b:3b:ea:76:8c:a7:ea:32:c9:de:5f:6a:63:84:9f:af: 
    41         63:0e:06:8a:37:44:67:58:a4:51:c7:f5:6f:70:30:de:4d:d9: 
    42         c7:64:33:00:d6:5e:27:6d:9b:b2:38:c9:99:db:8a:77:9b:8f: 
    43         2e:4c:94:74:29:14:8a:f8:66:90:4e:56:6c:4a:8a:b0:86:ce: 
    44         12:1f:a3:55:dc:d9:c0:6d:d2:aa:84:de:86:c9:af:55:00:4a: 
    45         fe:ba 
     38        21:e9:db:2d:fc:c6:47:0f:65:07:61:49:89:76:6f:36:b2:a6: 
     39        d2:8d:00:50:6d:bc:14:8b:aa:d2:04:1d:9e:92:e9:95:40:b4: 
     40        1f:0e:2b:60:7f:ed:db:d2:b1:bd:32:6c:89:a3:ce:47:a3:e4: 
     41        17:66:50:d6:ff:59:2b:9f:1c:a0:32:23:b6:84:e2:69:e0:12: 
     42        ed:f5:12:e5:cd:60:31:68:5a:f0:c3:7a:9e:d6:4e:d5:45:f7: 
     43        95:e4:30:46:89:bd:d7:3c:d1:14:7b:91:28:83:c3:bc:4c:36: 
     44        c5:85:b1:29:09:79:c9:d0:cf:8a:64:90:c6:d9:ca:14:a0:03: 
     45        b4:d3 
    4646-----BEGIN CERTIFICATE----- 
    47 MIIChTCCAe6gAwIBAgICAJQwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA3MTIxMjE2MjUy 
    49 OVoXDTA4MTIxMTE2MjUyOVowRjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     47MIIChTCCAe6gAwIBAgICAP8wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE0NDcy 
     49NFoXDTEzMTIxNTE0NDcyNFowRjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
    5050DzANBgNVBAsTBlNpdGUgQTEXMBUGA1UEAxMOU2Vzc2lvbk1hbmFnZXIwggEiMA0G 
    5151CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCcHjGV4ULZAfbmfAZAWZQ6CLZGrHIv 
     
    5555kVmcYrc4UuDQeT+2fFIh1P7DBUhKLTI6XrnpP1MrGBLiEkPdC6WKAAcpDVmkZiyA 
    5656IPBH1ctUxUL6Lsqkq2lT2VvAMcWqZ1fIWtadCxTo28ZcdFjyHBqF3qlXAgMBAAGj 
    57 FTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0BAQQFAAOBgQCJNUHIuBG0 
    58 U/IyRzgggfCSPQMMcAeZa9IoUYCNiVsV5+JfgmbtM0s76naMp+oyyd5famOEn69j 
    59 DgaKN0RnWKRRx/VvcDDeTdnHZDMA1l4nbZuyOMmZ24p3m48uTJR0KRSK+GaQTlZs 
    60 Soqwhs4SH6NV3NnAbdKqhN6Gya9VAEr+ug== 
     57FTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0BAQQFAAOBgQAh6dst/MZH 
     58D2UHYUmJdm82sqbSjQBQbbwUi6rSBB2ekumVQLQfDitgf+3b0rG9MmyJo85Ho+QX 
     59ZlDW/1krnxygMiO2hOJp4BLt9RLlzWAxaFrww3qe1k7VRfeV5DBGib3XPNEUe5Eo 
     60g8O8TDbFhbEpCXnJ0M+KZJDG2coUoAO00w== 
    6161-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/authz/pdp/test_proftp_pdp.py

    r4662 r4667  
    4747         
    4848                                   
    49     def test1AccessPermitted(self): 
    50         """test1AccessPermitted""" 
    51          
    52         print "\n\t" + self.test1AccessPermitted.__doc__ 
    53         resrcHandle['dir'] = os.environ['NDGSEC_PDP_UNITTEST_DIR'] 
    54 #        userHandle['h'] = 
    55 #        userHandle['sid'] =  
    56  
    57         self.pdp(resrcHandle, userHandle, None) 
    58  
    59  
    60 #_____________________________________________________________________________        
    61 class ProftpPDPTestSuite(unittest.TestSuite): 
    62      
    63     def __init__(self): 
    64         print "ProftpPDPTestSuite ..." 
    65         testCaseMap = map(ProftpPDPTestCase, 
    66                           ( 
    67                             "test1AccessPermitted", 
    68                           )) 
    69         unittest.TestSuite.__init__(self, testCaseMap) 
    70              
     49#    def test1AccessPermitted(self): 
     50#        """test1AccessPermitted""" 
     51#         
     52#        print "\n\t" + self.test1AccessPermitted.__doc__ 
     53#        resrcHandle = { 
     54#            'dir': os.environ['NDGSEC_PDP_UNITTEST_DIR'] 
     55#        } 
     56#         
     57#        userHandle = { 
     58#            'h': None, 
     59#            'sid': None 
     60#        } 
     61# 
     62#        self.pdp(resrcHandle, userHandle, None) 
    7163                                                     
    7264if __name__ == "__main__": 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/sessionmanager/sm.crt

    r4464 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 148 (0x94) 
     4        Serial Number: 255 (0xff) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Dec 12 16:25:29 2007 GMT 
    9             Not After : Dec 11 16:25:29 2008 GMT 
     8            Not Before: Dec 16 14:47:24 2008 GMT 
     9            Not After : Dec 15 14:47:24 2013 GMT 
    1010        Subject: O=NDG Security Test, OU=Site A, CN=SessionManager 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         89:35:41:c8:b8:11:b4:53:f2:32:47:38:20:81:f0:92:3d:03: 
    39         0c:70:07:99:6b:d2:28:51:80:8d:89:5b:15:e7:e2:5f:82:66: 
    40         ed:33:4b:3b:ea:76:8c:a7:ea:32:c9:de:5f:6a:63:84:9f:af: 
    41         63:0e:06:8a:37:44:67:58:a4:51:c7:f5:6f:70:30:de:4d:d9: 
    42         c7:64:33:00:d6:5e:27:6d:9b:b2:38:c9:99:db:8a:77:9b:8f: 
    43         2e:4c:94:74:29:14:8a:f8:66:90:4e:56:6c:4a:8a:b0:86:ce: 
    44         12:1f:a3:55:dc:d9:c0:6d:d2:aa:84:de:86:c9:af:55:00:4a: 
    45         fe:ba 
     38        21:e9:db:2d:fc:c6:47:0f:65:07:61:49:89:76:6f:36:b2:a6: 
     39        d2:8d:00:50:6d:bc:14:8b:aa:d2:04:1d:9e:92:e9:95:40:b4: 
     40        1f:0e:2b:60:7f:ed:db:d2:b1:bd:32:6c:89:a3:ce:47:a3:e4: 
     41        17:66:50:d6:ff:59:2b:9f:1c:a0:32:23:b6:84:e2:69:e0:12: 
     42        ed:f5:12:e5:cd:60:31:68:5a:f0:c3:7a:9e:d6:4e:d5:45:f7: 
     43        95:e4:30:46:89:bd:d7:3c:d1:14:7b:91:28:83:c3:bc:4c:36: 
     44        c5:85:b1:29:09:79:c9:d0:cf:8a:64:90:c6:d9:ca:14:a0:03: 
     45        b4:d3 
    4646-----BEGIN CERTIFICATE----- 
    47 MIIChTCCAe6gAwIBAgICAJQwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA3MTIxMjE2MjUy 
    49 OVoXDTA4MTIxMTE2MjUyOVowRjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     47MIIChTCCAe6gAwIBAgICAP8wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE0NDcy 
     49NFoXDTEzMTIxNTE0NDcyNFowRjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
    5050DzANBgNVBAsTBlNpdGUgQTEXMBUGA1UEAxMOU2Vzc2lvbk1hbmFnZXIwggEiMA0G 
    5151CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCcHjGV4ULZAfbmfAZAWZQ6CLZGrHIv 
     
    5555kVmcYrc4UuDQeT+2fFIh1P7DBUhKLTI6XrnpP1MrGBLiEkPdC6WKAAcpDVmkZiyA 
    5656IPBH1ctUxUL6Lsqkq2lT2VvAMcWqZ1fIWtadCxTo28ZcdFjyHBqF3qlXAgMBAAGj 
    57 FTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0BAQQFAAOBgQCJNUHIuBG0 
    58 U/IyRzgggfCSPQMMcAeZa9IoUYCNiVsV5+JfgmbtM0s76naMp+oyyd5famOEn69j 
    59 DgaKN0RnWKRRx/VvcDDeTdnHZDMA1l4nbZuyOMmZ24p3m48uTJR0KRSK+GaQTlZs 
    60 Soqwhs4SH6NV3NnAbdKqhN6Gya9VAEr+ug== 
     57FTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0BAQQFAAOBgQAh6dst/MZH 
     58D2UHYUmJdm82sqbSjQBQbbwUi6rSBB2ekumVQLQfDitgf+3b0rG9MmyJo85Ho+QX 
     59ZlDW/1krnxygMiO2hOJp4BLt9RLlzWAxaFrww3qe1k7VRfeV5DBGib3XPNEUe5Eo 
     60g8O8TDbFhbEpCXnJ0M+KZJDG2coUoAO00w== 
    6161-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/sessionmanager/user.crt

    r4464 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 249 (0xf9) 
     4        Serial Number: 258 (0x102) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 14:39:29 2008 GMT 
    9             Not After : Jan  3 14:39:29 2009 GMT 
     8            Not Before: Dec 16 15:18:25 2008 GMT 
     9            Not After : Dec 15 15:18:25 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, OU=Gabriel, CN=testuser 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         2a:4d:61:37:6f:50:13:18:0e:36:04:73:35:78:0b:b5:e1:38: 
    39         08:59:90:2e:3d:fe:50:4c:df:60:30:84:fc:ee:e9:c8:79:f7: 
    40         90:22:de:11:df:f7:43:a7:73:e5:63:e0:fb:57:90:82:5a:2b: 
    41         fa:34:67:5e:40:97:e5:e3:5e:54:91:3a:0e:70:e9:bc:55:40: 
    42         74:f8:ad:7f:d0:46:06:af:f4:46:99:10:8b:32:b5:d1:a6:96: 
    43         a7:20:bc:ac:7a:51:d8:b5:5a:fa:c8:61:53:a7:7f:ad:1f:55: 
    44         ac:3f:75:02:e1:18:46:94:ba:59:5e:d4:a6:ac:d2:40:8a:f7: 
    45         bc:95 
     38        95:07:9e:9a:d7:de:2b:9c:3c:a0:cc:5e:5d:dd:87:a9:84:3b: 
     39        2c:17:4e:fd:b5:87:ce:31:b7:74:4c:dc:94:4e:96:ea:a8:5f: 
     40        01:52:df:31:33:eb:7f:1f:25:d4:65:e4:6d:b1:72:11:cc:0c: 
     41        3f:0e:1d:e8:89:90:ec:2b:64:dc:34:36:19:74:2b:52:5c:e4: 
     42        f5:6f:d3:02:b2:47:65:4c:79:17:0c:e3:14:c5:e2:bf:89:fd: 
     43        e5:a6:d5:6c:44:67:5f:e0:43:3d:6f:97:19:f0:57:fe:a9:02: 
     44        0a:56:90:af:fa:15:95:d0:cd:26:dd:44:c9:38:ec:d4:c1:e0: 
     45        8c:43 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICgTCCAeqgAwIBAgICAPkwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDE0Mzky 
    49 OVoXDTA5MDEwMzE0MzkyOVowQjEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICgTCCAeqgAwIBAgICAQIwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTgy 
     49NVoXDTEzMTIxNTE1MTgyNVowQjEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MRAwDgYDVQQLEwdHYWJyaWVsMREwDwYDVQQDEwh0ZXN0dXNlcjCCASIwDQYJKoZI 
    5151hvcNAQEBBQADggEPADCCAQoCggEBAOdL1ZgnNhthCgNzg3vO/8jMbpfa0aggwKmq 
     
    5555vTnxOuscWOWjooDURwr4JeP0XRqBGcvcq6Ba24FxSr+R+UwyoDqLYmnrLDlxrecp 
    5656QCIYArOPlkgOi0Kw5nu9B3pMzp6UqXH4b8JXcBW2t2cRMzWo+VcCAwEAAaMVMBMw 
    57 EQYJYIZIAYb4QgEBBAQDAgTwMA0GCSqGSIb3DQEBBAUAA4GBACpNYTdvUBMYDjYE 
    58 czV4C7XhOAhZkC49/lBM32AwhPzu6ch595Ai3hHf90Onc+Vj4PtXkIJaK/o0Z15A 
    59 l+XjXlSROg5w6bxVQHT4rX/QRgav9EaZEIsytdGmlqcgvKx6Udi1WvrIYVOnf60f 
    60 Vaw/dQLhGEaUulle1Kas0kCK97yV 
     57EQYJYIZIAYb4QgEBBAQDAgTwMA0GCSqGSIb3DQEBBAUAA4GBAJUHnprX3iucPKDM 
     58Xl3dh6mEOywXTv21h84xt3RM3JROluqoXwFS3zEz638fJdRl5G2xchHMDD8OHeiJ 
     59kOwrZNw0Nhl0K1Jc5PVv0wKyR2VMeRcM4xTF4r+J/eWm1WxEZ1/gQz1vlxnwV/6p 
     60AgpWkK/6FZXQzSbdRMk47NTB4IxD 
    6161-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/test.crt

    r4479 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 247 (0xf7) 
     4        Serial Number: 257 (0x101) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 10:19:47 2008 GMT 
    9             Not After : Jan  3 10:19:47 2009 GMT 
     8            Not Before: Dec 16 15:11:48 2008 GMT 
     9            Not After : Dec 15 15:11:48 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, CN=test 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         14:a1:1d:af:61:70:96:9a:2c:00:64:43:1c:13:17:f5:de:3c: 
    39         4c:a9:b5:81:7c:ce:30:4b:d1:79:36:08:6a:ae:3a:68:ca:43: 
    40         0e:e0:29:b1:b8:e9:46:aa:21:bc:a2:2b:9e:01:9a:d9:ed:69: 
    41         f3:5b:4e:4c:be:64:6e:eb:ac:36:37:0d:b1:a8:17:90:d8:1e: 
    42         3b:aa:9c:19:90:a5:cb:f0:65:f4:ac:5f:ca:76:a7:79:de:63: 
    43         9a:05:a0:a3:12:4f:ed:5b:4e:ca:7b:e5:2e:a2:5f:ad:2f:dc: 
    44         13:03:96:0d:8a:72:3e:32:43:47:1d:9c:66:01:1d:dc:fe:16: 
    45         7d:82 
     38        3c:2d:44:82:80:fd:03:ef:4e:eb:43:f9:52:cd:eb:0c:28:6f: 
     39        47:6c:76:7f:cb:97:ff:bc:3e:dc:69:4d:05:cd:00:ed:40:f4: 
     40        65:41:04:9e:05:26:9e:f9:1c:9b:56:13:38:2c:23:dc:42:0d: 
     41        9e:f3:fa:4b:a0:25:c6:3e:ac:d9:7f:2d:2d:63:d4:19:32:d5: 
     42        bb:6a:7d:dd:7e:72:ed:19:d8:93:a8:ac:48:4a:18:8f:39:b0: 
     43        fc:b8:9a:c9:01:f3:ae:6f:fb:84:d4:76:d1:30:04:fd:ac:44: 
     44        5b:ba:d2:ea:ce:dc:47:2e:70:54:35:15:d1:53:4c:41:0b:89: 
     45        71:28 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICazCCAdSgAwIBAgICAPcwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDEwMTk0 
    49 N1oXDTA5MDEwMzEwMTk0N1owLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICazCCAdSgAwIBAgICAQEwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTE0 
     49OFoXDTEzMTIxNTE1MTE0OFowLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MQ0wCwYDVQQDEwR0ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA 
    5151rpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xMieMZy9XQft2dFBDY 
     
    5555B0g11YOBgshZ0SpNwEEyhDzHUt3Ii2XmAh25/II08BR61fhMZvSJ/tVGJY4HfWG7 
    5656B4PZzYwo5vn/tYH1mk7w5QIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJ 
    57 KoZIhvcNAQEEBQADgYEAFKEdr2FwlposAGRDHBMX9d48TKm1gXzOMEvReTYIaq46 
    58 aMpDDuApsbjpRqohvKIrngGa2e1p81tOTL5kbuusNjcNsagXkNgeO6qcGZCly/Bl 
    59 9Kxfynaned5jmgWgoxJP7VtOynvlLqJfrS/cEwOWDYpyPjJDRx2cZgEd3P4WfYI= 
     57KoZIhvcNAQEEBQADgYEAPC1EgoD9A+9O60P5Us3rDChvR2x2f8uX/7w+3GlNBc0A 
     587UD0ZUEEngUmnvkcm1YTOCwj3EINnvP6S6Alxj6s2X8tLWPUGTLVu2p93X5y7RnY 
     59k6isSEoYjzmw/LiayQHzrm/7hNR20TAE/axEW7rS6s7cRy5wVDUV0VNMQQuJcSg= 
    6060-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/credentialwallet/siteAAttributeAuthority/siteA-aa.crt

    r4446 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 54 (0x36) 
     4        Serial Number: 253 (0xfd) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Dec 12 13:52:16 2007 GMT 
    9             Not After : Dec 11 13:52:16 2008 GMT 
     8            Not Before: Dec 15 16:35:24 2008 GMT 
     9            Not After : Dec 14 16:35:24 2013 GMT 
    1010        Subject: O=NDG Security Test, OU=Site A, CN=AttributeAuthority 
    1111        Subject Public Key Info: 
     
    2424                Exponent: 65537 (0x10001) 
    2525        X509v3 extensions: 
    26             Netscape Cert Type: 
     26            Netscape Cert Type:  
    2727                SSL Client, SSL Server, S/MIME, Object Signing 
    2828    Signature Algorithm: md5WithRSAEncryption 
    29         9e:3d:25:d5:5c:13:b8:ea:8f:f5:8a:79:fc:3d:ab:5f:51:3b: 
    30         48:78:eb:a5:3e:34:3f:48:ee:8c:ad:4a:4e:b6:1d:f7:c1:0b: 
    31         21:de:46:ea:d4:76:0e:03:95:da:47:ec:4a:f4:10:b8:74:5d: 
    32         2c:7d:4b:19:a8:c0:a8:c4:ac:81:5e:3a:a4:64:e3:c9:2b:d6: 
    33         03:77:cc:bb:6a:99:85:90:fe:f8:da:2f:29:37:ab:ac:a7:b3: 
    34         5f:99:2a:52:54:3d:a7:cd:1b:a7:2f:28:e3:e0:91:51:a4:37: 
    35         51:d9:32:ac:3d:cc:17:73:e6:be:f3:4c:d9:77:8e:f1:25:85: 
    36         ed:7c 
     29        58:3d:38:b1:c0:41:f7:59:16:4f:ca:97:29:9c:8d:d8:46:79: 
     30        9c:11:6a:b3:a4:44:5e:d2:3e:75:d3:9a:66:de:d5:b6:26:87: 
     31        60:c5:c0:99:c4:56:fe:40:b0:f1:88:12:f9:49:65:fa:66:69: 
     32        03:0a:56:51:4f:64:47:f0:39:75:b8:88:0c:34:5b:c6:5c:f8: 
     33        04:90:9e:32:09:0e:fc:ec:54:df:5c:e6:be:aa:9a:db:75:32: 
     34        19:73:e1:b5:a4:ee:a3:c0:c6:da:e4:ab:e5:70:e4:e8:69:c9: 
     35        e6:c6:f4:58:1d:d4:82:c4:61:ed:5e:2b:c9:69:12:b4:89:82: 
     36        48:66 
    3737-----BEGIN CERTIFICATE----- 
    38 MIICBDCCAW2gAwIBAgIBNjANBgkqhkiG9w0BAQQFADAvMQwwCgYDVQQKEwNOREcx 
    39 DTALBgNVBAsTBEJBREMxEDAOBgNVBAMTB1Rlc3QgQ0EwHhcNMDcxMjEyMTM1MjE2 
    40 WhcNMDgxMjExMTM1MjE2WjBKMRowGAYDVQQKExFOREcgU2VjdXJpdHkgVGVzdDEP 
    41 MA0GA1UECxMGU2l0ZSBBMRswGQYDVQQDExJBdHRyaWJ1dGVBdXRob3JpdHkwgZ8w 
    42 DQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAKe1/6FTEUpfH8pjctfL9Fhz/KqF8gsz 
    43 yH3lzXif9Z1KqHysrdXGRS7mC6OUSAIdp8jYCM1klmol8obtm5xiZFyddsJfWo8g 
    44 Ypr5OWVshZ2xrnL8gX8OjYCg8wmdM0nZTUgF89Bds7lJ3j0699OLgKV2Tz3zvZEi 
    45 7M+YsgNwXJ2BAgMBAAGjFTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0B 
    46 AQQFAAOBgQCePSXVXBO46o/1inn8PatfUTtIeOulPjQ/SO6MrUpOth33wQsh3kbq 
    47 1HYOA5XaR+xK9BC4dF0sfUsZqMCoxKyBXjqkZOPJK9YDd8y7apmFkP742i8pN6us 
    48 p7NfmSpSVD2nzRunLyjj4JFRpDdR2TKsPcwXc+a+80zZd47xJYXtfA== 
     38MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     39MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
     40NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     41DzANBgNVBAsTBlNpdGUgQTEbMBkGA1UEAxMSQXR0cmlidXRlQXV0aG9yaXR5MIGf 
     42MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCntf+hUxFKXx/KY3LXy/RYc/yqhfIL 
     43M8h95c14n/WdSqh8rK3VxkUu5gujlEgCHafI2AjNZJZqJfKG7ZucYmRcnXbCX1qP 
     44IGKa+TllbIWdsa5y/IF/Do2AoPMJnTNJ2U1IBfPQXbO5Sd49OvfTi4Cldk89872R 
     45IuzPmLIDcFydgQIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJKoZIhvcN 
     46AQEEBQADgYEAWD04scBB91kWT8qXKZyN2EZ5nBFqs6REXtI+ddOaZt7VtiaHYMXA 
     47mcRW/kCw8YgS+Ull+mZpAwpWUU9kR/A5dbiIDDRbxlz4BJCeMgkO/OxU31zmvqqa 
     4823UyGXPhtaTuo8DG2uSr5XDk6GnJ5sb0WB3UgsRh7V4ryWkStImCSGY= 
    4949-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/credentialwallet/test.crt

    r4279 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 247 (0xf7) 
     4        Serial Number: 257 (0x101) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 10:19:47 2008 GMT 
    9             Not After : Jan  3 10:19:47 2009 GMT 
     8            Not Before: Dec 16 15:11:48 2008 GMT 
     9            Not After : Dec 15 15:11:48 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, CN=test 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         14:a1:1d:af:61:70:96:9a:2c:00:64:43:1c:13:17:f5:de:3c: 
    39         4c:a9:b5:81:7c:ce:30:4b:d1:79:36:08:6a:ae:3a:68:ca:43: 
    40         0e:e0:29:b1:b8:e9:46:aa:21:bc:a2:2b:9e:01:9a:d9:ed:69: 
    41         f3:5b:4e:4c:be:64:6e:eb:ac:36:37:0d:b1:a8:17:90:d8:1e: 
    42         3b:aa:9c:19:90:a5:cb:f0:65:f4:ac:5f:ca:76:a7:79:de:63: 
    43         9a:05:a0:a3:12:4f:ed:5b:4e:ca:7b:e5:2e:a2:5f:ad:2f:dc: 
    44         13:03:96:0d:8a:72:3e:32:43:47:1d:9c:66:01:1d:dc:fe:16: 
    45         7d:82 
     38        3c:2d:44:82:80:fd:03:ef:4e:eb:43:f9:52:cd:eb:0c:28:6f: 
     39        47:6c:76:7f:cb:97:ff:bc:3e:dc:69:4d:05:cd:00:ed:40:f4: 
     40        65:41:04:9e:05:26:9e:f9:1c:9b:56:13:38:2c:23:dc:42:0d: 
     41        9e:f3:fa:4b:a0:25:c6:3e:ac:d9:7f:2d:2d:63:d4:19:32:d5: 
     42        bb:6a:7d:dd:7e:72:ed:19:d8:93:a8:ac:48:4a:18:8f:39:b0: 
     43        fc:b8:9a:c9:01:f3:ae:6f:fb:84:d4:76:d1:30:04:fd:ac:44: 
     44        5b:ba:d2:ea:ce:dc:47:2e:70:54:35:15:d1:53:4c:41:0b:89: 
     45        71:28 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICazCCAdSgAwIBAgICAPcwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDEwMTk0 
    49 N1oXDTA5MDEwMzEwMTk0N1owLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICazCCAdSgAwIBAgICAQEwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTE0 
     49OFoXDTEzMTIxNTE1MTE0OFowLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MQ0wCwYDVQQDEwR0ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA 
    5151rpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xMieMZy9XQft2dFBDY 
     
    5555B0g11YOBgshZ0SpNwEEyhDzHUt3Ii2XmAh25/II08BR61fhMZvSJ/tVGJY4HfWG7 
    5656B4PZzYwo5vn/tYH1mk7w5QIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJ 
    57 KoZIhvcNAQEEBQADgYEAFKEdr2FwlposAGRDHBMX9d48TKm1gXzOMEvReTYIaq46 
    58 aMpDDuApsbjpRqohvKIrngGa2e1p81tOTL5kbuusNjcNsagXkNgeO6qcGZCly/Bl 
    59 9Kxfynaned5jmgWgoxJP7VtOynvlLqJfrS/cEwOWDYpyPjJDRx2cZgEd3P4WfYI= 
     57KoZIhvcNAQEEBQADgYEAPC1EgoD9A+9O60P5Us3rDChvR2x2f8uX/7w+3GlNBc0A 
     587UD0ZUEEngUmnvkcm1YTOCwj3EINnvP6S6Alxj6s2X8tLWPUGTLVu2p93X5y7RnY 
     59k6isSEoYjzmw/LiayQHzrm/7hNR20TAE/axEW7rS6s7cRy5wVDUV0VNMQQuJcSg= 
    6060-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/myproxy/user.crt

    r3176 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 249 (0xf9) 
     4        Serial Number: 258 (0x102) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 14:39:29 2008 GMT 
    9             Not After : Jan  3 14:39:29 2009 GMT 
     8            Not Before: Dec 16 15:18:25 2008 GMT 
     9            Not After : Dec 15 15:18:25 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, OU=Gabriel, CN=testuser 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         2a:4d:61:37:6f:50:13:18:0e:36:04:73:35:78:0b:b5:e1:38: 
    39         08:59:90:2e:3d:fe:50:4c:df:60:30:84:fc:ee:e9:c8:79:f7: 
    40         90:22:de:11:df:f7:43:a7:73:e5:63:e0:fb:57:90:82:5a:2b: 
    41         fa:34:67:5e:40:97:e5:e3:5e:54:91:3a:0e:70:e9:bc:55:40: 
    42         74:f8:ad:7f:d0:46:06:af:f4:46:99:10:8b:32:b5:d1:a6:96: 
    43         a7:20:bc:ac:7a:51:d8:b5:5a:fa:c8:61:53:a7:7f:ad:1f:55: 
    44         ac:3f:75:02:e1:18:46:94:ba:59:5e:d4:a6:ac:d2:40:8a:f7: 
    45         bc:95 
     38        95:07:9e:9a:d7:de:2b:9c:3c:a0:cc:5e:5d:dd:87:a9:84:3b: 
     39        2c:17:4e:fd:b5:87:ce:31:b7:74:4c:dc:94:4e:96:ea:a8:5f: 
     40        01:52:df:31:33:eb:7f:1f:25:d4:65:e4:6d:b1:72:11:cc:0c: 
     41        3f:0e:1d:e8:89:90:ec:2b:64:dc:34:36:19:74:2b:52:5c:e4: 
     42        f5:6f:d3:02:b2:47:65:4c:79:17:0c:e3:14:c5:e2:bf:89:fd: 
     43        e5:a6:d5:6c:44:67:5f:e0:43:3d:6f:97:19:f0:57:fe:a9:02: 
     44        0a:56:90:af:fa:15:95:d0:cd:26:dd:44:c9:38:ec:d4:c1:e0: 
     45        8c:43 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICgTCCAeqgAwIBAgICAPkwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDE0Mzky 
    49 OVoXDTA5MDEwMzE0MzkyOVowQjEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICgTCCAeqgAwIBAgICAQIwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTgy 
     49NVoXDTEzMTIxNTE1MTgyNVowQjEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MRAwDgYDVQQLEwdHYWJyaWVsMREwDwYDVQQDEwh0ZXN0dXNlcjCCASIwDQYJKoZI 
    5151hvcNAQEBBQADggEPADCCAQoCggEBAOdL1ZgnNhthCgNzg3vO/8jMbpfa0aggwKmq 
     
    5555vTnxOuscWOWjooDURwr4JeP0XRqBGcvcq6Ba24FxSr+R+UwyoDqLYmnrLDlxrecp 
    5656QCIYArOPlkgOi0Kw5nu9B3pMzp6UqXH4b8JXcBW2t2cRMzWo+VcCAwEAAaMVMBMw 
    57 EQYJYIZIAYb4QgEBBAQDAgTwMA0GCSqGSIb3DQEBBAUAA4GBACpNYTdvUBMYDjYE 
    58 czV4C7XhOAhZkC49/lBM32AwhPzu6ch595Ai3hHf90Onc+Vj4PtXkIJaK/o0Z15A 
    59 l+XjXlSROg5w6bxVQHT4rX/QRgav9EaZEIsytdGmlqcgvKx6Udi1WvrIYVOnf60f 
    60 Vaw/dQLhGEaUulle1Kas0kCK97yV 
     57EQYJYIZIAYb4QgEBBAQDAgTwMA0GCSqGSIb3DQEBBAUAA4GBAJUHnprX3iucPKDM 
     58Xl3dh6mEOywXTv21h84xt3RM3JROluqoXwFS3zEz638fJdRl5G2xchHMDD8OHeiJ 
     59kOwrZNw0Nhl0K1Jc5PVv0wKyR2VMeRcM4xTF4r+J/eWm1WxEZ1/gQz1vlxnwV/6p 
     60AgpWkK/6FZXQzSbdRMk47NTB4IxD 
    6161-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/noseTests.py

    r4404 r4667  
    11#/usr/bin/env python 
    22''' 
    3 Suite to wrapper all granulator test cases 
     3Suite to wrap all granulator test cases 
    44 
    55NERC Data Grid Project 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanager/siteAAttributeAuthority/siteA-aa.crt

    r4447 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 54 (0x36) 
     4        Serial Number: 253 (0xfd) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Dec 12 13:52:16 2007 GMT 
    9             Not After : Dec 11 13:52:16 2008 GMT 
     8            Not Before: Dec 15 16:35:24 2008 GMT 
     9            Not After : Dec 14 16:35:24 2013 GMT 
    1010        Subject: O=NDG Security Test, OU=Site A, CN=AttributeAuthority 
    1111        Subject Public Key Info: 
     
    2424                Exponent: 65537 (0x10001) 
    2525        X509v3 extensions: 
    26             Netscape Cert Type: 
     26            Netscape Cert Type:  
    2727                SSL Client, SSL Server, S/MIME, Object Signing 
    2828    Signature Algorithm: md5WithRSAEncryption 
    29         9e:3d:25:d5:5c:13:b8:ea:8f:f5:8a:79:fc:3d:ab:5f:51:3b: 
    30         48:78:eb:a5:3e:34:3f:48:ee:8c:ad:4a:4e:b6:1d:f7:c1:0b: 
    31         21:de:46:ea:d4:76:0e:03:95:da:47:ec:4a:f4:10:b8:74:5d: 
    32         2c:7d:4b:19:a8:c0:a8:c4:ac:81:5e:3a:a4:64:e3:c9:2b:d6: 
    33         03:77:cc:bb:6a:99:85:90:fe:f8:da:2f:29:37:ab:ac:a7:b3: 
    34         5f:99:2a:52:54:3d:a7:cd:1b:a7:2f:28:e3:e0:91:51:a4:37: 
    35         51:d9:32:ac:3d:cc:17:73:e6:be:f3:4c:d9:77:8e:f1:25:85: 
    36         ed:7c 
     29        58:3d:38:b1:c0:41:f7:59:16:4f:ca:97:29:9c:8d:d8:46:79: 
     30        9c:11:6a:b3:a4:44:5e:d2:3e:75:d3:9a:66:de:d5:b6:26:87: 
     31        60:c5:c0:99:c4:56:fe:40:b0:f1:88:12:f9:49:65:fa:66:69: 
     32        03:0a:56:51:4f:64:47:f0:39:75:b8:88:0c:34:5b:c6:5c:f8: 
     33        04:90:9e:32:09:0e:fc:ec:54:df:5c:e6:be:aa:9a:db:75:32: 
     34        19:73:e1:b5:a4:ee:a3:c0:c6:da:e4:ab:e5:70:e4:e8:69:c9: 
     35        e6:c6:f4:58:1d:d4:82:c4:61:ed:5e:2b:c9:69:12:b4:89:82: 
     36        48:66 
    3737-----BEGIN CERTIFICATE----- 
    38 MIICBDCCAW2gAwIBAgIBNjANBgkqhkiG9w0BAQQFADAvMQwwCgYDVQQKEwNOREcx 
    39 DTALBgNVBAsTBEJBREMxEDAOBgNVBAMTB1Rlc3QgQ0EwHhcNMDcxMjEyMTM1MjE2 
    40 WhcNMDgxMjExMTM1MjE2WjBKMRowGAYDVQQKExFOREcgU2VjdXJpdHkgVGVzdDEP 
    41 MA0GA1UECxMGU2l0ZSBBMRswGQYDVQQDExJBdHRyaWJ1dGVBdXRob3JpdHkwgZ8w 
    42 DQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAKe1/6FTEUpfH8pjctfL9Fhz/KqF8gsz 
    43 yH3lzXif9Z1KqHysrdXGRS7mC6OUSAIdp8jYCM1klmol8obtm5xiZFyddsJfWo8g 
    44 Ypr5OWVshZ2xrnL8gX8OjYCg8wmdM0nZTUgF89Bds7lJ3j0699OLgKV2Tz3zvZEi 
    45 7M+YsgNwXJ2BAgMBAAGjFTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0B 
    46 AQQFAAOBgQCePSXVXBO46o/1inn8PatfUTtIeOulPjQ/SO6MrUpOth33wQsh3kbq 
    47 1HYOA5XaR+xK9BC4dF0sfUsZqMCoxKyBXjqkZOPJK9YDd8y7apmFkP742i8pN6us 
    48 p7NfmSpSVD2nzRunLyjj4JFRpDdR2TKsPcwXc+a+80zZd47xJYXtfA== 
     38MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     39MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
     40NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     41DzANBgNVBAsTBlNpdGUgQTEbMBkGA1UEAxMSQXR0cmlidXRlQXV0aG9yaXR5MIGf 
     42MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCntf+hUxFKXx/KY3LXy/RYc/yqhfIL 
     43M8h95c14n/WdSqh8rK3VxkUu5gujlEgCHafI2AjNZJZqJfKG7ZucYmRcnXbCX1qP 
     44IGKa+TllbIWdsa5y/IF/Do2AoPMJnTNJ2U1IBfPQXbO5Sd49OvfTi4Cldk89872R 
     45IuzPmLIDcFydgQIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJKoZIhvcN 
     46AQEEBQADgYEAWD04scBB91kWT8qXKZyN2EZ5nBFqs6REXtI+ddOaZt7VtiaHYMXA 
     47mcRW/kCw8YgS+Ull+mZpAwpWUU9kR/A5dbiIDDRbxlz4BJCeMgkO/OxU31zmvqqa 
     4823UyGXPhtaTuo8DG2uSr5XDk6GnJ5sb0WB3UgsRh7V4ryWkStImCSGY= 
    4949-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanager/sm.crt

    r3140 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 148 (0x94) 
     4        Serial Number: 255 (0xff) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Dec 12 16:25:29 2007 GMT 
    9             Not After : Dec 11 16:25:29 2008 GMT 
     8            Not Before: Dec 16 14:47:24 2008 GMT 
     9            Not After : Dec 15 14:47:24 2013 GMT 
    1010        Subject: O=NDG Security Test, OU=Site A, CN=SessionManager 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         89:35:41:c8:b8:11:b4:53:f2:32:47:38:20:81:f0:92:3d:03: 
    39         0c:70:07:99:6b:d2:28:51:80:8d:89:5b:15:e7:e2:5f:82:66: 
    40         ed:33:4b:3b:ea:76:8c:a7:ea:32:c9:de:5f:6a:63:84:9f:af: 
    41         63:0e:06:8a:37:44:67:58:a4:51:c7:f5:6f:70:30:de:4d:d9: 
    42         c7:64:33:00:d6:5e:27:6d:9b:b2:38:c9:99:db:8a:77:9b:8f: 
    43         2e:4c:94:74:29:14:8a:f8:66:90:4e:56:6c:4a:8a:b0:86:ce: 
    44         12:1f:a3:55:dc:d9:c0:6d:d2:aa:84:de:86:c9:af:55:00:4a: 
    45         fe:ba 
     38        21:e9:db:2d:fc:c6:47:0f:65:07:61:49:89:76:6f:36:b2:a6: 
     39        d2:8d:00:50:6d:bc:14:8b:aa:d2:04:1d:9e:92:e9:95:40:b4: 
     40        1f:0e:2b:60:7f:ed:db:d2:b1:bd:32:6c:89:a3:ce:47:a3:e4: 
     41        17:66:50:d6:ff:59:2b:9f:1c:a0:32:23:b6:84:e2:69:e0:12: 
     42        ed:f5:12:e5:cd:60:31:68:5a:f0:c3:7a:9e:d6:4e:d5:45:f7: 
     43        95:e4:30:46:89:bd:d7:3c:d1:14:7b:91:28:83:c3:bc:4c:36: 
     44        c5:85:b1:29:09:79:c9:d0:cf:8a:64:90:c6:d9:ca:14:a0:03: 
     45        b4:d3 
    4646-----BEGIN CERTIFICATE----- 
    47 MIIChTCCAe6gAwIBAgICAJQwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA3MTIxMjE2MjUy 
    49 OVoXDTA4MTIxMTE2MjUyOVowRjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     47MIIChTCCAe6gAwIBAgICAP8wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE0NDcy 
     49NFoXDTEzMTIxNTE0NDcyNFowRjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
    5050DzANBgNVBAsTBlNpdGUgQTEXMBUGA1UEAxMOU2Vzc2lvbk1hbmFnZXIwggEiMA0G 
    5151CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCcHjGV4ULZAfbmfAZAWZQ6CLZGrHIv 
     
    5555kVmcYrc4UuDQeT+2fFIh1P7DBUhKLTI6XrnpP1MrGBLiEkPdC6WKAAcpDVmkZiyA 
    5656IPBH1ctUxUL6Lsqkq2lT2VvAMcWqZ1fIWtadCxTo28ZcdFjyHBqF3qlXAgMBAAGj 
    57 FTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0BAQQFAAOBgQCJNUHIuBG0 
    58 U/IyRzgggfCSPQMMcAeZa9IoUYCNiVsV5+JfgmbtM0s76naMp+oyyd5famOEn69j 
    59 DgaKN0RnWKRRx/VvcDDeTdnHZDMA1l4nbZuyOMmZ24p3m48uTJR0KRSK+GaQTlZs 
    60 Soqwhs4SH6NV3NnAbdKqhN6Gya9VAEr+ug== 
     57FTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0BAQQFAAOBgQAh6dst/MZH 
     58D2UHYUmJdm82sqbSjQBQbbwUi6rSBB2ekumVQLQfDitgf+3b0rG9MmyJo85Ho+QX 
     59ZlDW/1krnxygMiO2hOJp4BLt9RLlzWAxaFrww3qe1k7VRfeV5DBGib3XPNEUe5Eo 
     60g8O8TDbFhbEpCXnJ0M+KZJDG2coUoAO00w== 
    6161-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanager/user.crt

    r4403 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 249 (0xf9) 
     4        Serial Number: 258 (0x102) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 14:39:29 2008 GMT 
    9             Not After : Jan  3 14:39:29 2009 GMT 
     8            Not Before: Dec 16 15:18:25 2008 GMT 
     9            Not After : Dec 15 15:18:25 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, OU=Gabriel, CN=testuser 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         2a:4d:61:37:6f:50:13:18:0e:36:04:73:35:78:0b:b5:e1:38: 
    39         08:59:90:2e:3d:fe:50:4c:df:60:30:84:fc:ee:e9:c8:79:f7: 
    40         90:22:de:11:df:f7:43:a7:73:e5:63:e0:fb:57:90:82:5a:2b: 
    41         fa:34:67:5e:40:97:e5:e3:5e:54:91:3a:0e:70:e9:bc:55:40: 
    42         74:f8:ad:7f:d0:46:06:af:f4:46:99:10:8b:32:b5:d1:a6:96: 
    43         a7:20:bc:ac:7a:51:d8:b5:5a:fa:c8:61:53:a7:7f:ad:1f:55: 
    44         ac:3f:75:02:e1:18:46:94:ba:59:5e:d4:a6:ac:d2:40:8a:f7: 
    45         bc:95 
     38        95:07:9e:9a:d7:de:2b:9c:3c:a0:cc:5e:5d:dd:87:a9:84:3b: 
     39        2c:17:4e:fd:b5:87:ce:31:b7:74:4c:dc:94:4e:96:ea:a8:5f: 
     40        01:52:df:31:33:eb:7f:1f:25:d4:65:e4:6d:b1:72:11:cc:0c: 
     41        3f:0e:1d:e8:89:90:ec:2b:64:dc:34:36:19:74:2b:52:5c:e4: 
     42        f5:6f:d3:02:b2:47:65:4c:79:17:0c:e3:14:c5:e2:bf:89:fd: 
     43        e5:a6:d5:6c:44:67:5f:e0:43:3d:6f:97:19:f0:57:fe:a9:02: 
     44        0a:56:90:af:fa:15:95:d0:cd:26:dd:44:c9:38:ec:d4:c1:e0: 
     45        8c:43 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICgTCCAeqgAwIBAgICAPkwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDE0Mzky 
    49 OVoXDTA5MDEwMzE0MzkyOVowQjEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICgTCCAeqgAwIBAgICAQIwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTgy 
     49NVoXDTEzMTIxNTE1MTgyNVowQjEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MRAwDgYDVQQLEwdHYWJyaWVsMREwDwYDVQQDEwh0ZXN0dXNlcjCCASIwDQYJKoZI 
    5151hvcNAQEBBQADggEPADCCAQoCggEBAOdL1ZgnNhthCgNzg3vO/8jMbpfa0aggwKmq 
     
    5555vTnxOuscWOWjooDURwr4JeP0XRqBGcvcq6Ba24FxSr+R+UwyoDqLYmnrLDlxrecp 
    5656QCIYArOPlkgOi0Kw5nu9B3pMzp6UqXH4b8JXcBW2t2cRMzWo+VcCAwEAAaMVMBMw 
    57 EQYJYIZIAYb4QgEBBAQDAgTwMA0GCSqGSIb3DQEBBAUAA4GBACpNYTdvUBMYDjYE 
    58 czV4C7XhOAhZkC49/lBM32AwhPzu6ch595Ai3hHf90Onc+Vj4PtXkIJaK/o0Z15A 
    59 l+XjXlSROg5w6bxVQHT4rX/QRgav9EaZEIsytdGmlqcgvKx6Udi1WvrIYVOnf60f 
    60 Vaw/dQLhGEaUulle1Kas0kCK97yV 
     57EQYJYIZIAYb4QgEBBAQDAgTwMA0GCSqGSIb3DQEBBAUAA4GBAJUHnprX3iucPKDM 
     58Xl3dh6mEOywXTv21h84xt3RM3JROluqoXwFS3zEz638fJdRl5G2xchHMDD8OHeiJ 
     59kOwrZNw0Nhl0K1Jc5PVv0wKyR2VMeRcM4xTF4r+J/eWm1WxEZ1/gQz1vlxnwV/6p 
     60AgpWkK/6FZXQzSbdRMk47NTB4IxD 
    6161-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanagerclient/sm-clnt.crt

    r3145 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 160 (0xa0) 
     4        Serial Number: 256 (0x100) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Dec 12 16:57:57 2007 GMT 
    9             Not After : Dec 11 16:57:57 2008 GMT 
     8            Not Before: Dec 16 14:55:02 2008 GMT 
     9            Not After : Dec 15 14:55:02 2013 GMT 
    1010        Subject: O=NDG Security Test, OU=Site A, CN=A Session Manager Client 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         11:82:8a:ca:2d:d4:bf:6c:f0:7d:99:41:4b:4c:0c:a8:c0:87: 
    39         d2:4f:4d:4d:56:11:e6:de:30:bf:f5:8d:7f:4d:43:11:d7:64: 
    40         79:e6:3a:cf:be:c8:33:ba:7b:03:53:52:77:44:5d:9e:b2:fa: 
    41         19:95:87:be:6b:e6:b5:f7:99:c2:3a:bc:5c:66:e2:c6:9b:33: 
    42         17:95:79:36:e6:d8:2c:4c:77:31:ba:e8:2c:68:82:5d:5b:9a: 
    43         48:18:b2:42:51:8f:8c:9c:81:9d:17:e6:17:bf:d3:62:04:55: 
    44         03:66:5c:b2:8d:4b:63:c5:2b:ae:f8:1f:1c:fa:66:b6:96:12: 
    45         ea:98 
     38        cb:ca:90:96:36:0d:5c:6c:39:81:df:92:53:7a:e8:fe:c5:1d: 
     39        20:72:2e:8f:ba:a0:ad:76:2a:95:11:26:3e:85:0c:09:80:a6: 
     40        b2:a1:4e:0c:46:41:3d:db:50:2c:c1:13:5c:bc:95:2d:ee:5b: 
     41        ca:83:56:ed:ff:52:26:d5:0e:e4:cf:56:bc:08:e8:38:36:d8: 
     42        4e:0e:f2:28:3a:d1:f3:1a:c5:9d:e0:bb:eb:84:e7:e4:6f:2d: 
     43        d9:89:61:57:31:16:1d:71:53:4c:af:60:8a:d6:59:df:c0:8d: 
     44        f9:fb:3b:4c:fe:1e:14:30:47:10:31:70:10:94:bf:16:5a:7d: 
     45        ee:e4 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICjzCCAfigAwIBAgICAKAwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA3MTIxMjE2NTc1 
    49 N1oXDTA4MTIxMTE2NTc1N1owUDEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     47MIICjzCCAfigAwIBAgICAQAwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE0NTUw 
     49MloXDTEzMTIxNTE0NTUwMlowUDEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
    5050DzANBgNVBAsTBlNpdGUgQTEhMB8GA1UEAxMYQSBTZXNzaW9uIE1hbmFnZXIgQ2xp 
    5151ZW50MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6AX26Rxb2rSyvttN 
     
    5656zkDB6F/NyzAC3CWc0hpWiEs4X0BzZl8lq1pIb03isaY+YFqVY7g0slEr0UHdr1r1 
    5757uKuBgQIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJKoZIhvcNAQEEBQAD 
    58 gYEAEYKKyi3Uv2zwfZlBS0wMqMCH0k9NTVYR5t4wv/WNf01DEddkeeY6z77IM7p7 
    59 A1NSd0RdnrL6GZWHvmvmtfeZwjq8XGbixpszF5V5NubYLEx3MbroLGiCXVuaSBiy 
    60 QlGPjJyBnRfmF7/TYgRVA2Zcso1LY8UrrvgfHPpmtpYS6pg= 
     58gYEAy8qQljYNXGw5gd+SU3ro/sUdIHIuj7qgrXYqlREmPoUMCYCmsqFODEZBPdtQ 
     59LMETXLyVLe5byoNW7f9SJtUO5M9WvAjoODbYTg7yKDrR8xrFneC764Tn5G8t2Ylh 
     60VzEWHXFTTK9gitZZ38CN+fs7TP4eFDBHEDFwEJS/Flp97uQ= 
    6161-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanagerclient/sm.crt

    r3140 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 148 (0x94) 
     4        Serial Number: 255 (0xff) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Dec 12 16:25:29 2007 GMT 
    9             Not After : Dec 11 16:25:29 2008 GMT 
     8            Not Before: Dec 16 14:47:24 2008 GMT 
     9            Not After : Dec 15 14:47:24 2013 GMT 
    1010        Subject: O=NDG Security Test, OU=Site A, CN=SessionManager 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         89:35:41:c8:b8:11:b4:53:f2:32:47:38:20:81:f0:92:3d:03: 
    39         0c:70:07:99:6b:d2:28:51:80:8d:89:5b:15:e7:e2:5f:82:66: 
    40         ed:33:4b:3b:ea:76:8c:a7:ea:32:c9:de:5f:6a:63:84:9f:af: 
    41         63:0e:06:8a:37:44:67:58:a4:51:c7:f5:6f:70:30:de:4d:d9: 
    42         c7:64:33:00:d6:5e:27:6d:9b:b2:38:c9:99:db:8a:77:9b:8f: 
    43         2e:4c:94:74:29:14:8a:f8:66:90:4e:56:6c:4a:8a:b0:86:ce: 
    44         12:1f:a3:55:dc:d9:c0:6d:d2:aa:84:de:86:c9:af:55:00:4a: 
    45         fe:ba 
     38        21:e9:db:2d:fc:c6:47:0f:65:07:61:49:89:76:6f:36:b2:a6: 
     39        d2:8d:00:50:6d:bc:14:8b:aa:d2:04:1d:9e:92:e9:95:40:b4: 
     40        1f:0e:2b:60:7f:ed:db:d2:b1:bd:32:6c:89:a3:ce:47:a3:e4: 
     41        17:66:50:d6:ff:59:2b:9f:1c:a0:32:23:b6:84:e2:69:e0:12: 
     42        ed:f5:12:e5:cd:60:31:68:5a:f0:c3:7a:9e:d6:4e:d5:45:f7: 
     43        95:e4:30:46:89:bd:d7:3c:d1:14:7b:91:28:83:c3:bc:4c:36: 
     44        c5:85:b1:29:09:79:c9:d0:cf:8a:64:90:c6:d9:ca:14:a0:03: 
     45        b4:d3 
    4646-----BEGIN CERTIFICATE----- 
    47 MIIChTCCAe6gAwIBAgICAJQwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA3MTIxMjE2MjUy 
    49 OVoXDTA4MTIxMTE2MjUyOVowRjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     47MIIChTCCAe6gAwIBAgICAP8wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE0NDcy 
     49NFoXDTEzMTIxNTE0NDcyNFowRjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
    5050DzANBgNVBAsTBlNpdGUgQTEXMBUGA1UEAxMOU2Vzc2lvbk1hbmFnZXIwggEiMA0G 
    5151CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCcHjGV4ULZAfbmfAZAWZQ6CLZGrHIv 
     
    5555kVmcYrc4UuDQeT+2fFIh1P7DBUhKLTI6XrnpP1MrGBLiEkPdC6WKAAcpDVmkZiyA 
    5656IPBH1ctUxUL6Lsqkq2lT2VvAMcWqZ1fIWtadCxTo28ZcdFjyHBqF3qlXAgMBAAGj 
    57 FTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0BAQQFAAOBgQCJNUHIuBG0 
    58 U/IyRzgggfCSPQMMcAeZa9IoUYCNiVsV5+JfgmbtM0s76naMp+oyyd5famOEn69j 
    59 DgaKN0RnWKRRx/VvcDDeTdnHZDMA1l4nbZuyOMmZ24p3m48uTJR0KRSK+GaQTlZs 
    60 Soqwhs4SH6NV3NnAbdKqhN6Gya9VAEr+ug== 
     57FTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0BAQQFAAOBgQAh6dst/MZH 
     58D2UHYUmJdm82sqbSjQBQbbwUi6rSBB2ekumVQLQfDitgf+3b0rG9MmyJo85Ho+QX 
     59ZlDW/1krnxygMiO2hOJp4BLt9RLlzWAxaFrww3qe1k7VRfeV5DBGib3XPNEUe5Eo 
     60g8O8TDbFhbEpCXnJ0M+KZJDG2coUoAO00w== 
    6161-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanagerclient/test.crt

    r3195 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 247 (0xf7) 
     4        Serial Number: 257 (0x101) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 10:19:47 2008 GMT 
    9             Not After : Jan  3 10:19:47 2009 GMT 
     8            Not Before: Dec 16 15:11:48 2008 GMT 
     9            Not After : Dec 15 15:11:48 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, CN=test 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         14:a1:1d:af:61:70:96:9a:2c:00:64:43:1c:13:17:f5:de:3c: 
    39         4c:a9:b5:81:7c:ce:30:4b:d1:79:36:08:6a:ae:3a:68:ca:43: 
    40         0e:e0:29:b1:b8:e9:46:aa:21:bc:a2:2b:9e:01:9a:d9:ed:69: 
    41         f3:5b:4e:4c:be:64:6e:eb:ac:36:37:0d:b1:a8:17:90:d8:1e: 
    42         3b:aa:9c:19:90:a5:cb:f0:65:f4:ac:5f:ca:76:a7:79:de:63: 
    43         9a:05:a0:a3:12:4f:ed:5b:4e:ca:7b:e5:2e:a2:5f:ad:2f:dc: 
    44         13:03:96:0d:8a:72:3e:32:43:47:1d:9c:66:01:1d:dc:fe:16: 
    45         7d:82 
     38        3c:2d:44:82:80:fd:03:ef:4e:eb:43:f9:52:cd:eb:0c:28:6f: 
     39        47:6c:76:7f:cb:97:ff:bc:3e:dc:69:4d:05:cd:00:ed:40:f4: 
     40        65:41:04:9e:05:26:9e:f9:1c:9b:56:13:38:2c:23:dc:42:0d: 
     41        9e:f3:fa:4b:a0:25:c6:3e:ac:d9:7f:2d:2d:63:d4:19:32:d5: 
     42        bb:6a:7d:dd:7e:72:ed:19:d8:93:a8:ac:48:4a:18:8f:39:b0: 
     43        fc:b8:9a:c9:01:f3:ae:6f:fb:84:d4:76:d1:30:04:fd:ac:44: 
     44        5b:ba:d2:ea:ce:dc:47:2e:70:54:35:15:d1:53:4c:41:0b:89: 
     45        71:28 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICazCCAdSgAwIBAgICAPcwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDEwMTk0 
    49 N1oXDTA5MDEwMzEwMTk0N1owLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICazCCAdSgAwIBAgICAQEwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTE0 
     49OFoXDTEzMTIxNTE1MTE0OFowLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MQ0wCwYDVQQDEwR0ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA 
    5151rpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xMieMZy9XQft2dFBDY 
     
    5555B0g11YOBgshZ0SpNwEEyhDzHUt3Ii2XmAh25/II08BR61fhMZvSJ/tVGJY4HfWG7 
    5656B4PZzYwo5vn/tYH1mk7w5QIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJ 
    57 KoZIhvcNAQEEBQADgYEAFKEdr2FwlposAGRDHBMX9d48TKm1gXzOMEvReTYIaq46 
    58 aMpDDuApsbjpRqohvKIrngGa2e1p81tOTL5kbuusNjcNsagXkNgeO6qcGZCly/Bl 
    59 9Kxfynaned5jmgWgoxJP7VtOynvlLqJfrS/cEwOWDYpyPjJDRx2cZgEd3P4WfYI= 
     57KoZIhvcNAQEEBQADgYEAPC1EgoD9A+9O60P5Us3rDChvR2x2f8uX/7w+3GlNBc0A 
     587UD0ZUEEngUmnvkcm1YTOCwj3EINnvP6S6Alxj6s2X8tLWPUGTLVu2p93X5y7RnY 
     59k6isSEoYjzmw/LiayQHzrm/7hNR20TAE/axEW7rS6s7cRy5wVDUV0VNMQQuJcSg= 
    6060-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanagerclient/test_sessionmanagerclient.py

    r4573 r4667  
    1515__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1616__revision__ = '$Id$' 
     17import logging 
     18logging.basicConfig(level=logging.DEBUG) 
     19log = logging.getLogger(__name__) 
    1720 
    1821import unittest 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanagerclient/user.crt

    r4406 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 249 (0xf9) 
     4        Serial Number: 258 (0x102) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 14:39:29 2008 GMT 
    9             Not After : Jan  3 14:39:29 2009 GMT 
     8            Not Before: Dec 16 15:18:25 2008 GMT 
     9            Not After : Dec 15 15:18:25 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, OU=Gabriel, CN=testuser 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         2a:4d:61:37:6f:50:13:18:0e:36:04:73:35:78:0b:b5:e1:38: 
    39         08:59:90:2e:3d:fe:50:4c:df:60:30:84:fc:ee:e9:c8:79:f7: 
    40         90:22:de:11:df:f7:43:a7:73:e5:63:e0:fb:57:90:82:5a:2b: 
    41         fa:34:67:5e:40:97:e5:e3:5e:54:91:3a:0e:70:e9:bc:55:40: 
    42         74:f8:ad:7f:d0:46:06:af:f4:46:99:10:8b:32:b5:d1:a6:96: 
    43         a7:20:bc:ac:7a:51:d8:b5:5a:fa:c8:61:53:a7:7f:ad:1f:55: 
    44         ac:3f:75:02:e1:18:46:94:ba:59:5e:d4:a6:ac:d2:40:8a:f7: 
    45         bc:95 
     38        95:07:9e:9a:d7:de:2b:9c:3c:a0:cc:5e:5d:dd:87:a9:84:3b: 
     39        2c:17:4e:fd:b5:87:ce:31:b7:74:4c:dc:94:4e:96:ea:a8:5f: 
     40        01:52:df:31:33:eb:7f:1f:25:d4:65:e4:6d:b1:72:11:cc:0c: 
     41        3f:0e:1d:e8:89:90:ec:2b:64:dc:34:36:19:74:2b:52:5c:e4: 
     42        f5:6f:d3:02:b2:47:65:4c:79:17:0c:e3:14:c5:e2:bf:89:fd: 
     43        e5:a6:d5:6c:44:67:5f:e0:43:3d:6f:97:19:f0:57:fe:a9:02: 
     44        0a:56:90:af:fa:15:95:d0:cd:26:dd:44:c9:38:ec:d4:c1:e0: 
     45        8c:43 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICgTCCAeqgAwIBAgICAPkwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDE0Mzky 
    49 OVoXDTA5MDEwMzE0MzkyOVowQjEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICgTCCAeqgAwIBAgICAQIwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTgy 
     49NVoXDTEzMTIxNTE1MTgyNVowQjEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MRAwDgYDVQQLEwdHYWJyaWVsMREwDwYDVQQDEwh0ZXN0dXNlcjCCASIwDQYJKoZI 
    5151hvcNAQEBBQADggEPADCCAQoCggEBAOdL1ZgnNhthCgNzg3vO/8jMbpfa0aggwKmq 
     
    5555vTnxOuscWOWjooDURwr4JeP0XRqBGcvcq6Ba24FxSr+R+UwyoDqLYmnrLDlxrecp 
    5656QCIYArOPlkgOi0Kw5nu9B3pMzp6UqXH4b8JXcBW2t2cRMzWo+VcCAwEAAaMVMBMw 
    57 EQYJYIZIAYb4QgEBBAQDAgTwMA0GCSqGSIb3DQEBBAUAA4GBACpNYTdvUBMYDjYE 
    58 czV4C7XhOAhZkC49/lBM32AwhPzu6ch595Ai3hHf90Onc+Vj4PtXkIJaK/o0Z15A 
    59 l+XjXlSROg5w6bxVQHT4rX/QRgav9EaZEIsytdGmlqcgvKx6Udi1WvrIYVOnf60f 
    60 Vaw/dQLhGEaUulle1Kas0kCK97yV 
     57EQYJYIZIAYb4QgEBBAQDAgTwMA0GCSqGSIb3DQEBBAUAA4GBAJUHnprX3iucPKDM 
     58Xl3dh6mEOywXTv21h84xt3RM3JROluqoXwFS3zEz638fJdRl5G2xchHMDD8OHeiJ 
     59kOwrZNw0Nhl0K1Jc5PVv0wKyR2VMeRcM4xTF4r+J/eWm1WxEZ1/gQz1vlxnwV/6p 
     60AgpWkK/6FZXQzSbdRMk47NTB4IxD 
    6161-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sslclientauthnmiddleware/test.crt

    r4609 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 247 (0xf7) 
     4        Serial Number: 257 (0x101) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 10:19:47 2008 GMT 
    9             Not After : Jan  3 10:19:47 2009 GMT 
     8            Not Before: Dec 16 15:11:48 2008 GMT 
     9            Not After : Dec 15 15:11:48 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, CN=test 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         14:a1:1d:af:61:70:96:9a:2c:00:64:43:1c:13:17:f5:de:3c: 
    39         4c:a9:b5:81:7c:ce:30:4b:d1:79:36:08:6a:ae:3a:68:ca:43: 
    40         0e:e0:29:b1:b8:e9:46:aa:21:bc:a2:2b:9e:01:9a:d9:ed:69: 
    41         f3:5b:4e:4c:be:64:6e:eb:ac:36:37:0d:b1:a8:17:90:d8:1e: 
    42         3b:aa:9c:19:90:a5:cb:f0:65:f4:ac:5f:ca:76:a7:79:de:63: 
    43         9a:05:a0:a3:12:4f:ed:5b:4e:ca:7b:e5:2e:a2:5f:ad:2f:dc: 
    44         13:03:96:0d:8a:72:3e:32:43:47:1d:9c:66:01:1d:dc:fe:16: 
    45         7d:82 
     38        3c:2d:44:82:80:fd:03:ef:4e:eb:43:f9:52:cd:eb:0c:28:6f: 
     39        47:6c:76:7f:cb:97:ff:bc:3e:dc:69:4d:05:cd:00:ed:40:f4: 
     40        65:41:04:9e:05:26:9e:f9:1c:9b:56:13:38:2c:23:dc:42:0d: 
     41        9e:f3:fa:4b:a0:25:c6:3e:ac:d9:7f:2d:2d:63:d4:19:32:d5: 
     42        bb:6a:7d:dd:7e:72:ed:19:d8:93:a8:ac:48:4a:18:8f:39:b0: 
     43        fc:b8:9a:c9:01:f3:ae:6f:fb:84:d4:76:d1:30:04:fd:ac:44: 
     44        5b:ba:d2:ea:ce:dc:47:2e:70:54:35:15:d1:53:4c:41:0b:89: 
     45        71:28 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICazCCAdSgAwIBAgICAPcwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDEwMTk0 
    49 N1oXDTA5MDEwMzEwMTk0N1owLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICazCCAdSgAwIBAgICAQEwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTE0 
     49OFoXDTEzMTIxNTE1MTE0OFowLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MQ0wCwYDVQQDEwR0ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA 
    5151rpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xMieMZy9XQft2dFBDY 
     
    5555B0g11YOBgshZ0SpNwEEyhDzHUt3Ii2XmAh25/II08BR61fhMZvSJ/tVGJY4HfWG7 
    5656B4PZzYwo5vn/tYH1mk7w5QIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJ 
    57 KoZIhvcNAQEEBQADgYEAFKEdr2FwlposAGRDHBMX9d48TKm1gXzOMEvReTYIaq46 
    58 aMpDDuApsbjpRqohvKIrngGa2e1p81tOTL5kbuusNjcNsagXkNgeO6qcGZCly/Bl 
    59 9Kxfynaned5jmgWgoxJP7VtOynvlLqJfrS/cEwOWDYpyPjJDRx2cZgEd3P4WfYI= 
     57KoZIhvcNAQEEBQADgYEAPC1EgoD9A+9O60P5Us3rDChvR2x2f8uX/7w+3GlNBc0A 
     587UD0ZUEEngUmnvkcm1YTOCwj3EINnvP6S6Alxj6s2X8tLWPUGTLVu2p93X5y7RnY 
     59k6isSEoYjzmw/LiayQHzrm/7hNR20TAE/axEW7rS6s7cRy5wVDUV0VNMQQuJcSg= 
    6060-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/x509/user.crt

    r3195 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 249 (0xf9) 
     4        Serial Number: 258 (0x102) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 14:39:29 2008 GMT 
    9             Not After : Jan  3 14:39:29 2009 GMT 
     8            Not Before: Dec 16 15:18:25 2008 GMT 
     9            Not After : Dec 15 15:18:25 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, OU=Gabriel, CN=testuser 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         2a:4d:61:37:6f:50:13:18:0e:36:04:73:35:78:0b:b5:e1:38: 
    39         08:59:90:2e:3d:fe:50:4c:df:60:30:84:fc:ee:e9:c8:79:f7: 
    40         90:22:de:11:df:f7:43:a7:73:e5:63:e0:fb:57:90:82:5a:2b: 
    41         fa:34:67:5e:40:97:e5:e3:5e:54:91:3a:0e:70:e9:bc:55:40: 
    42         74:f8:ad:7f:d0:46:06:af:f4:46:99:10:8b:32:b5:d1:a6:96: 
    43         a7:20:bc:ac:7a:51:d8:b5:5a:fa:c8:61:53:a7:7f:ad:1f:55: 
    44         ac:3f:75:02:e1:18:46:94:ba:59:5e:d4:a6:ac:d2:40:8a:f7: 
    45         bc:95 
     38        95:07:9e:9a:d7:de:2b:9c:3c:a0:cc:5e:5d:dd:87:a9:84:3b: 
     39        2c:17:4e:fd:b5:87:ce:31:b7:74:4c:dc:94:4e:96:ea:a8:5f: 
     40        01:52:df:31:33:eb:7f:1f:25:d4:65:e4:6d:b1:72:11:cc:0c: 
     41        3f:0e:1d:e8:89:90:ec:2b:64:dc:34:36:19:74:2b:52:5c:e4: 
     42        f5:6f:d3:02:b2:47:65:4c:79:17:0c:e3:14:c5:e2:bf:89:fd: 
     43        e5:a6:d5:6c:44:67:5f:e0:43:3d:6f:97:19:f0:57:fe:a9:02: 
     44        0a:56:90:af:fa:15:95:d0:cd:26:dd:44:c9:38:ec:d4:c1:e0: 
     45        8c:43 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICgTCCAeqgAwIBAgICAPkwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDE0Mzky 
    49 OVoXDTA5MDEwMzE0MzkyOVowQjEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICgTCCAeqgAwIBAgICAQIwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTgy 
     49NVoXDTEzMTIxNTE1MTgyNVowQjEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MRAwDgYDVQQLEwdHYWJyaWVsMREwDwYDVQQDEwh0ZXN0dXNlcjCCASIwDQYJKoZI 
    5151hvcNAQEBBQADggEPADCCAQoCggEBAOdL1ZgnNhthCgNzg3vO/8jMbpfa0aggwKmq 
     
    5555vTnxOuscWOWjooDURwr4JeP0XRqBGcvcq6Ba24FxSr+R+UwyoDqLYmnrLDlxrecp 
    5656QCIYArOPlkgOi0Kw5nu9B3pMzp6UqXH4b8JXcBW2t2cRMzWo+VcCAwEAAaMVMBMw 
    57 EQYJYIZIAYb4QgEBBAQDAgTwMA0GCSqGSIb3DQEBBAUAA4GBACpNYTdvUBMYDjYE 
    58 czV4C7XhOAhZkC49/lBM32AwhPzu6ch595Ai3hHf90Onc+Vj4PtXkIJaK/o0Z15A 
    59 l+XjXlSROg5w6bxVQHT4rX/QRgav9EaZEIsytdGmlqcgvKx6Udi1WvrIYVOnf60f 
    60 Vaw/dQLhGEaUulle1Kas0kCK97yV 
     57EQYJYIZIAYb4QgEBBAQDAgTwMA0GCSqGSIb3DQEBBAUAA4GBAJUHnprX3iucPKDM 
     58Xl3dh6mEOywXTv21h84xt3RM3JROluqoXwFS3zEz638fJdRl5G2xchHMDD8OHeiJ 
     59kOwrZNw0Nhl0K1Jc5PVv0wKyR2VMeRcM4xTF4r+J/eWm1WxEZ1/gQz1vlxnwV/6p 
     60AgpWkK/6FZXQzSbdRMk47NTB4IxD 
    6161-----END CERTIFICATE----- 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/xmlsec/etree/test.crt

    r4068 r4667  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 247 (0xf7) 
     4        Serial Number: 257 (0x101) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Jan  4 10:19:47 2008 GMT 
    9             Not After : Jan  3 10:19:47 2009 GMT 
     8            Not Before: Dec 16 15:11:48 2008 GMT 
     9            Not After : Dec 15 15:11:48 2013 GMT 
    1010        Subject: O=NDG, OU=BADC, CN=test 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         14:a1:1d:af:61:70:96:9a:2c:00:64:43:1c:13:17:f5:de:3c: 
    39         4c:a9:b5:81:7c:ce:30:4b:d1:79:36:08:6a:ae:3a:68:ca:43: 
    40         0e:e0:29:b1:b8:e9:46:aa:21:bc:a2:2b:9e:01:9a:d9:ed:69: 
    41         f3:5b:4e:4c:be:64:6e:eb:ac:36:37:0d:b1:a8:17:90:d8:1e: 
    42         3b:aa:9c:19:90:a5:cb:f0:65:f4:ac:5f:ca:76:a7:79:de:63: 
    43         9a:05:a0:a3:12:4f:ed:5b:4e:ca:7b:e5:2e:a2:5f:ad:2f:dc: 
    44         13:03:96:0d:8a:72:3e:32:43:47:1d:9c:66:01:1d:dc:fe:16: 
    45         7d:82 
     38        3c:2d:44:82:80:fd:03:ef:4e:eb:43:f9:52:cd:eb:0c:28:6f: 
     39        47:6c:76:7f:cb:97:ff:bc:3e:dc:69:4d:05:cd:00:ed:40:f4: 
     40        65:41:04:9e:05:26:9e:f9:1c:9b:56:13:38:2c:23:dc:42:0d: 
     41        9e:f3:fa:4b:a0:25:c6:3e:ac:d9:7f:2d:2d:63:d4:19:32:d5: 
     42        bb:6a:7d:dd:7e:72:ed:19:d8:93:a8:ac:48:4a:18:8f:39:b0: 
     43        fc:b8:9a:c9:01:f3:ae:6f:fb:84:d4:76:d1:30:04:fd:ac:44: 
     44        5b:ba:d2:ea:ce:dc:47:2e:70:54:35:15:d1:53:4c:41:0b:89: 
     45        71:28 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICazCCAdSgAwIBAgICAPcwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDEwMTk0 
    49 N1oXDTA5MDEwMzEwMTk0N1owLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
     47MIICazCCAdSgAwIBAgICAQEwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTE0 
     49OFoXDTEzMTIxNTE1MTE0OFowLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    5050MQ0wCwYDVQQDEwR0ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA 
    5151rpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xMieMZy9XQft2dFBDY 
     
    5555B0g11YOBgshZ0SpNwEEyhDzHUt3Ii2XmAh25/II08BR61fhMZvSJ/tVGJY4HfWG7 
    5656B4PZzYwo5vn/tYH1mk7w5QIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJ 
    57 KoZIhvcNAQEEBQADgYEAFKEdr2FwlposAGRDHBMX9d48TKm1gXzOMEvReTYIaq46 
    58 aMpDDuApsbjpRqohvKIrngGa2e1p81tOTL5kbuusNjcNsagXkNgeO6qcGZCly/Bl 
    59 9Kxfynaned5jmgWgoxJP7VtOynvlLqJfrS/cEwOWDYpyPjJDRx2cZgEd3P4WfYI= 
     57KoZIhvcNAQEEBQADgYEAPC1EgoD9A+9O60P5Us3rDChvR2x2f8uX/7w+3GlNBc0A 
     587UD0ZUEEngUmnvkcm1YTOCwj3EINnvP6S6Alxj6s2X8tLWPUGTLVu2p93X5y7RnY 
     59k6isSEoYjzmw/LiayQHzrm/7hNR20TAE/axEW7rS6s7cRy5wVDUV0VNMQQuJcSg= 
    6060-----END CERTIFICATE----- 
Note: See TracChangeset for help on using the changeset viewer.