2
I am developing an application using the Dmoiselle-Certificate-core version 2.0.0. By manipulating an X509 object, I can extract all fields as shown in the methods documentation:
CertificateManager cm = new CertificateManager(x509)
and by cm.load(Cert.class)
.
The certificate type is e-CNPJ, and when loading the handling methods of type PJ, the method to receive the CPF from the responsible party 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, but when I load it in the program certInstaller, it shows beyond the fields RG, Name of the responsible, issuing body, date of birth, among others, also the Cpf of the responsible for the company.
It is possible to obtain this information through the?