FAQ
I find myself going in circles trying to pull OIDs from a certificate's
"X509v3 Extended Key Usage" (as `openssl x509 -in foo.pem -text` shows)
When I read in the cert:
cert, err := x509.ParseCertificate(block.Bytes)

the ExtKeyUsage, UnknownExtKeyUsage, nor PolicyIdentifiers contain the list
of extensions that I know are in the PEM certificate file.
Does anyone have a pointer on how to do this? or is it even available?

Take care,
vb

--

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedNov 7, '12 at 9:07p
activeNov 8, '12 at 4:31a
posts3
users2
websitegolang.org

2 users in discussion

Vincent Batts: 2 posts Agl: 1 post

People

Translate

site design / logo © 2022 Grokbase