Skip to content

crypto/x509: docs for CreateCertificate omit template.AuthorityKeyId yet it is used in code #18962

Description

@taylortrimble

Documentation for crypto/x509.CreateCertficiate on the current golang.org page enumerates a list of fields from the certificate template that are considered when creating a certificate.

It omits the AuthorityKeyId field, but the source for buildExtensions, called by CreateCertificate, implies otherwise.

I would expect AuthorityKeyId to be added to the list of fields mentioned above in the documentation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions