1
0
mirror of https://github.com/golang/go synced 2024-11-26 06:38:00 -07:00

update Certificate fields doc comments

Change-Id: Idb0b519fd208357e427c9ea37ec425d066ffca63
This commit is contained in:
Mateusz Poliwczak 2023-08-31 07:50:53 +02:00
parent 951159a4be
commit 06c7250341

View File

@ -772,10 +772,14 @@ type Certificate struct {
// CRL Distribution Points
CRLDistributionPoints []string
// PolicyIdentifiers contains asn1.ObjectIdentifiers, the components
// of which are limited to int32. If a certificate contains a policy which
// cannot be represented by asn1.ObjectIdentifier, it will not be included in
// PolicyIdentifiers, but will be present in Policies, which contains all parsed
// policy OIDs.
PolicyIdentifiers []asn1.ObjectIdentifier
// Policies contains policy OIDs included in any certificatePolicies extensions
// in the certificate.
// Policies contains all policy identifiers included in the certificate.
Policies []OID
}