ON 20041116@3:48:17 PM at page: http://techref.massmind.org/language/asp/obj/ref_vbom_reqoccc.htm#38307.4943055556 James Newton[JMN-EFP-786] published post 38307.4943055556 robsonmachado@seguros.com.br asks:
Dear Friends, We are developing a system that needs to use a Brazilian e-CPF Client Certificate. In this system we need to extrac e-mail information from SubjectAlternativeName of the e-CPF Client Certificate. When we use the following code, we can read many fields of the certificate as showed as follow, but e-mail information resides into SubjectAlternativeName of the e-CPF Client Certificate and it does not appear clearly using this solution. Can anyone help me with this problem? Regards Robson Machado EXAMPLE OF USED CODE for each item in request.clientcertificate response.write item & " --> " & cstr(request.clientcertificate(item)) & "
" next PUBLICKEY --> ????????????????????????????????????????????????????????????????????aA -------------------------------------------------------------------------------- VALIDFROM --> 14/5/2004 -------------------------------------------------------------------------------- ISSUEROU --> Secretaria da Receita Federal - SRF -------------------------------------------------------------------------------- ENCODING --> 1 -------------------------------------------------------------------------------- ISSUERCN --> AC CertiSign SRF -------------------------------------------------------------------------------- SERIALNUMBER --> 7d-91-72-93-e0-c9-c8-32-d9-3f-dc-a7-ba-ad-c6-7a -------------------------------------------------------------------------------- SUBJECT --> O=ICP-Brasil, OU=SRF e-CPF, OU=Secretaria da Receita Federal-SRF, C=BR, CN=ROBSON CARVALHO MACHADO:37585177100 -------------------------------------------------------------------------------- SUBJECTC --> BR -------------------------------------------------------------------------------- SUBJECTCN --> ROBSON CARVALHO MACHADO:37585177100 -------------------------------------------------------------------------------- CERTIFICATE --> ?????A??????????????c??????????????????????????????????????????????????????????????????????????????????????????????????l?????????????????»??????????????????????????????????ca?????????????????????????????????????????????????????????????????????aA??????????????´?????????????????????????????O?????????????????????????????????????0?????????????????????????????????????????????????????????????????????a?¯????”?????????????A?????????????????????????????????C????C?????C?c?????C??????????????????????c??a-?????? ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????BINARYSUBJECT --> MIGQMRMwEQYDVQQKFApJQ1AtQnJhc2lsMRIwEAYDVQQLFAlTUkYgZS1DUEYxKjAoBgNVBAsTIVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsLVNSRjELMAkGA1UEBhMCQlIxLDAqBgNVBAMTI1JPQlNPTiBDQVJWQUxITyBNQUNIQURPOjM3NTg1MTc3MTAw -------------------------------------------------------------------------------- SUBJECTO --> ICP-Brasil -------------------------------------------------------------------------------- SUBJECTOU --> SRF e-CPF;Secretaria da Receita Federal-SRF -------------------------------------------------------------------------------- VALIDUNTIL --> 14/5/2005 23:59:59
|Delete 'P-' before: '' but after: '