forge icon indicating copy to clipboard operation
forge copied to clipboard

Parse URIs from authorityInfoAccess

Open philosaur opened this issue 5 years ago • 3 comments

The value field for authorityInfoAccess has two URIs (for the issuer cert and the OCSP responder), but they're interspersed with extended unicode characters (e.g. "\u0005").

I could kludge together a method to parse the URIs from this value (whatever it is...buffer?). But what's the real way to do it? I'm pretty sure I'm missing something.

philosaur avatar Jan 21 '20 21:01 philosaur

Hello @philosaur , did you find a way to set the value of authorityInfoAccess with node forge ?

Thanks

x-077 avatar Feb 17 '20 11:02 x-077

I wasn't trying to set the value, just read it. I had to resort to using regular expressions to pull out the cert and OCSP responder URIs from the authorityInfoAccess string.

philosaur avatar Feb 18 '20 16:02 philosaur

Hello @philosaur have you found any workaround to parse these values?

Thanks

MartinLednar avatar Apr 18 '23 07:04 MartinLednar