Mercurial > trustbridge
view ui/tests/data/valid_ssl_rsa.pem @ 186:2551ad24d3c2
Get subject from the certificate and parse it's attributes
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 26 Mar 2014 12:07:06 +0100 |
parents | c389915fd55e |
children | a7317252a27c |
line wrap: on
line source
-----BEGIN CERTIFICATE----- MIIFSDCCAzCgAwIBAgIBATANBgkqhkiG9w0BAQUFADA9MRIwEAYDVQQDEwkxMjcu MC4wLjExGjAYBgNVBAoTEURvX05vdF9UcnVzdF9UZXN0MQswCQYDVQQGEwJERTAe Fw0xMzAxMDEwMDAwMDBaFw0xNTEyMzEyMzU5NTlaMD0xEjAQBgNVBAMTCTEyNy4w LjAuMTEaMBgGA1UEChMRRG9fTm90X1RydXN0X1Rlc3QxCzAJBgNVBAYTAkRFMIIC IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAopptJLmLZ4ii6CVbbpUFgTzS bde9qY2D77zX6ojING773lN/pJ1KMJCYxsvRsxLzIwqWKTPGUssAu3qJ5Rgh56kR addTEQBr+Ej0fZeZrwDT+ytgOyjA/CGFqr4/RC17UL19x4dkhTbIeyu+UYbw/oJ8 Iid+I6dxG/tn+76uptxNSvwNgbdIl6kWszWSTXiITe5qLSwIHwsZghDQuR0po6WC /70J7Lq1v+RxQwsAmhrgQBn5wBoTUpUq8H1yuHnw2XdNq+yYqCiP7x1Pk8Ukfe4/ 0fo0zB5tEQd+7Y6/dXbW3e3dPPkgnSG+ivCkzTCFC4sK50kcxKRFfJP8zHZqMWPN iaACgAALfnwDrRI6c6idKfEmzt0dWAEsYqAY+E/20Q7+aWK5Z1eFPYjhk4s3Y6cu +KT4il5YDegpHbZhB1QRoyrk3nfID/lEI/G9L5+m9z/MJo9WLAK6fHuZpj7LLshl VAeq14jZ/t2EaIyvfFv4x7iYBGSs9x4thJGux4lHfkoY5YTaKhK14Z+HL1Krtda7 jh5zRw6RA9cV99JXGeaMzbFlDBAZGIxLnpT+Y/4lguR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