go/doc/next/6-stdlib/99-minor/crypto/x509/56866.md
Filippo Valsorda c6f882f6c5 crypto/x509: add ExtKeyUsage.String and KeyUsage.String methods
Fixes #56866

Change-Id: Icc8f067820f5d74e0d5073bce160429e6a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/723360
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Reviewed-by: Roland Shoemaker <roland@golang.org>
2025-11-24 16:19:47 -08:00

148 B

The [ExtKeyUsage] and [KeyUsage] types now have String methods that return the correspodning OID names as defined in RFC 5280 and other registries.