Skip to content

Commit ed615aa

Browse files
FiloSottilegopherbot
authored andcommitted
crypto/x509: expand package docs and clarify package target
Fixes #26624 Change-Id: Ifab3fc2209d71b9a7de383eaa5786b7446de25fa Reviewed-on: https://go-review.googlesource.com/c/go/+/266541 Reviewed-by: Roland Shoemaker <[email protected]> Run-TryBot: Roland Shoemaker <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]> Auto-Submit: Roland Shoemaker <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 1a6a37f commit ed615aa

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/crypto/x509/x509.go

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,22 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
// Package x509 parses X.509-encoded keys and certificates.
5+
// Package x509 implements a subset of the X.509 standard.
6+
//
7+
// It allows parsing and generating certificates, certificate signing
8+
// requests, certificate revocation lists, and encoded public and private keys.
9+
// It provides a certificate verifier, complete with a chain builder.
10+
//
11+
// The package targets the X.509 technical profile defined by the IETF (RFC
12+
// 2459/3280/5280), and as further restricted by the CA/Browser Forum Baseline
13+
// Requirements. There is minimal support for features outside of these
14+
// profiles, as the primary goal of the package is to provide compatibility
15+
// with the publicly trusted TLS certificate ecosystem and its policies and
16+
// constraints.
17+
//
18+
// On macOS and Windows, certificate verification is handled by system APIs, but
19+
// the package aims to apply consistent validation rules across operating
20+
// systems.
621
package x509
722

823
import (

0 commit comments

Comments
 (0)