mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
This adds these functions and the various enums and constants required to use them: https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptdecodeobject https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptqueryobject https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-certgetnamestringw https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-certfindextension We also use this opportunity to clean up formatting of the previous crypt APIs added: a few lines slipped in that used "//sys ", with spaces, instead of "//sys\t" with a tab. This fixes that up for consistency. Change-Id: I925d3d29b5255f70ee2368e8906c45b8b22115ce Reviewed-on: https://go-review.googlesource.com/c/sys/+/285714 Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Trust: Jason A. Donenfeld <Jason@zx2c4.com>