Obtain the e-CNPJ CPF field using the demoiselle certificate-core

2

I'm developing an application using demoiselle-certificate-core version 2.0.0. When I manipulate an object type X509, I extract all fields as shown in the documentation by methods:   CertificateManager cm = new CertificateManager(x509) and cm.load(Cert.class) .   The type of certificate is e-CNPJ, and when loading the PJ-type manipulation methods, the method to receive the responsible CPF was not available, but there is no option in the core of the certificate. Apparently because it is an e-CNPJ should not manipulate the CPF field, however, when I load it in the certInstaller program, it shows besides the fields RG, Name of the responsible, issuing organ, date of birth, among others, too the cpf of the person in charge of the company.   Is it possible to obtain this information through demoiselle-certificate?

    
asked by anonymous 27.04.2015 / 16:58

0 answers