I need to get commonName for ISSUER NAME but there are multiple issues: there are more than one commonName(one for ISSUER NAME and another for SUBJECT NAME), commonName position below ISSUER NAME is not fixed, and commonName will sometimes be a string of words with spaces between them. Is there a syntax for an indefinite number of characters and a syntax for scanning a string of words and spaces?
Data:
**(0)ISSUER NAME**
countryName US
organizationName Lucky Stars
**commonName** **Dev Lucky Stars Internal PKI Firmwide Generic Issuing CA 6**
**(0)SUBJECT NAME**
countryName US
stateOrProvinceName New York
localityName New York
organizationName Lucky Stars
**commonName iklabnac04.ms.com**
emailAddress mike.ng@luckystars.com
(0)Valid From May 26 03:33:39 2016 GMT
(0)Valid Till May 26 03:33:39 2018 GMT
↧