diff options
| author | Roland Shoemaker <roland@golang.org> | 2025-11-26 09:21:13 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-11-26 14:21:13 -0800 |
| commit | e2cae9ecdf944a1cc5d8803ff8932180858b8ce6 (patch) | |
| tree | b3209a5c7f0e58006e6113ce9c22019194330778 /api/next | |
| parent | 623ef2813579c9b52ba4a0335722df4d93566b74 (diff) | |
| download | go-e2cae9ecdf944a1cc5d8803ff8932180858b8ce6.tar.xz | |
crypto/x509: add ExtKeyUsage.OID method
And OIDFromASN1OID for converting between asn1.ObjectIdentifier and OID.
Fixes #75325
Change-Id: I3b84dce54346d88aab731ffe30d0fef07b014f04
Reviewed-on: https://go-review.googlesource.com/c/go/+/724761
Reviewed-by: Neal Patel <nealpatel@google.com>
Auto-Submit: Roland Shoemaker <roland@golang.org>
Commit-Queue: Neal Patel <nealpatel@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'api/next')
| -rw-r--r-- | api/next/75325.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/next/75325.txt b/api/next/75325.txt new file mode 100644 index 0000000000..dc241efef2 --- /dev/null +++ b/api/next/75325.txt @@ -0,0 +1,2 @@ +pkg crypto/x509, func OIDFromASN1OID(asn1.ObjectIdentifier) (OID, error) #75325 +pkg crypto/x509, method (ExtKeyUsage) OID() OID #75325 |
