code: func certSubjectFromContext(ctx context.Context) (pkix.Name, error) {
  	connState, err := tlsConnStateFromContext(ctx)
  	if err != nil {
  		return pkix.Name{}, err
  	}
  	return getCertificateSubject(connState)
  }
docs: // certSubjectFromContext extracts pkix.Name from context.