...

Source file src/github.com/google/certificate-transparency-go/x509/root_js.go

Documentation: github.com/google/certificate-transparency-go/x509

     1  // Copyright 2018 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build js && wasm
     6  // +build js,wasm
     7  
     8  package x509
     9  
    10  // Possible certificate files; stop after finding one.
    11  var certFiles = []string{}
    12  
    13  func loadSystemRoots() (*CertPool, error) {
    14  	return NewCertPool(), nil
    15  }
    16  
    17  func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
    18  	return nil, nil
    19  }
    20  

View as plain text