1
0
mirror of https://github.com/golang/go synced 2024-11-17 20:54:48 -07:00
go/src
Datong Sun c8ae2e82c7 crypto/x509: better documentation for ParsePKIXPublicKey
The existing documentation for ParsePKIXPublicKey is difficult to understand
and the return type of the parsed public key are not mentioned explicitly.

Descriptions about types of public key supported, as well as an example on
how to use type assertions to determine return type of a parsed public key
has been added.

Fixes #14355

Change-Id: Ib9561efb34255292735742c0b3e835c4b97ac589
Reviewed-on: https://go-review.googlesource.com/19757
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-02-26 06:36:10 +00:00
..
archive all: use cannot instead of can not 2016-02-21 15:35:50 +00:00
bufio all: fix typos and spelling 2016-02-24 18:42:29 +00:00
builtin
bytes runtime: avoid using REP prefix for IndexByte 2016-02-26 01:09:53 +00:00
cmd cmd/compile, go/parser: simpler binary expression parsing 2016-02-26 06:33:57 +00:00
compress
container
crypto crypto/x509: better documentation for ParsePKIXPublicKey 2016-02-26 06:36:10 +00:00
database/sql all: fix typos and spelling 2016-02-24 18:42:29 +00:00
debug all: fix typos and spelling 2016-02-24 18:42:29 +00:00
encoding all: fix typos and spelling 2016-02-24 18:42:29 +00:00
errors
expvar expvar: document that Get returns nil for non-existent vars 2016-02-25 16:48:08 +00:00
flag
fmt fmt: fix zero padding for NaN 2016-02-21 12:04:21 +00:00
go cmd/compile, go/parser: simpler binary expression parsing 2016-02-26 06:33:57 +00:00
hash
html all: fix typos and spelling 2016-02-24 18:42:29 +00:00
image all: fix typos and spelling 2016-02-24 18:42:29 +00:00
index/suffixarray
internal all: fix typos and spelling 2016-02-24 18:42:29 +00:00
io
log all: use cannot instead of can not 2016-02-21 15:35:50 +00:00
math all: fix typos and spelling 2016-02-24 18:42:29 +00:00
mime all: fix typos 2016-02-23 13:58:47 +00:00
net net/textproto: permit all valid token chars in CanonicalMIMEHeaderKey input 2016-02-25 21:00:57 +00:00
os os: fix tests on brillo 2016-02-24 21:05:40 +00:00
path all: fix typos and spelling 2016-02-24 18:42:29 +00:00
reflect cmd/compile: remove rtype.ptrToThis 2016-02-25 17:47:42 +00:00
regexp all: fix typos and spelling 2016-02-24 18:42:29 +00:00
runtime runtime: avoid using REP prefix for IndexByte 2016-02-26 01:09:53 +00:00
sort all: fix typos and spelling 2016-02-24 18:42:29 +00:00
strconv
strings
sync all: use cannot instead of can not 2016-02-21 15:35:50 +00:00
syscall all: fix typos and spelling 2016-02-24 18:42:29 +00:00
testing
text all: fix typos and spelling 2016-02-24 18:42:29 +00:00
time
unicode unicode/utf16: speed up and clean up Encode and EncodeRune 2016-02-24 21:07:03 +00:00
unsafe
vendor
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: set GOARM=7 2015-10-26 15:20:02 +00:00
bootstrap.bash
buildall.bash build: use go tool dist list 2016-02-26 03:58:58 +00:00
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash cmd/go, go/build: add support for Fortran 2016-02-24 15:06:38 +00:00
make.bat cmd/go, go/build: add support for Fortran 2016-02-24 15:06:38 +00:00
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc