fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/core/config/comm/tls Index | Files

package tls

import "github.com/hyperledger/fabric-sdk-go/pkg/core/config/comm/tls"


Package Files


type CertPool Uses

type CertPool interface {
    // Get returns the cert pool, optionally adding the provided certs
    Get() (*x509.CertPool, error)
    //Add allows adding certificates to CertPool
    //Call Get() after Add() to get the updated certpool
    Add(certs ...*x509.Certificate)

CertPool is a thread safe wrapper around the x509 standard library cert pool implementation.

func NewCertPool Uses

func NewCertPool(useSystemCertPool bool) (CertPool, error)

NewCertPool new CertPool implementation

Package tls imports 4 packages (graph) and is imported by 7 packages. Updated 2020-05-27. Refresh now. Tools for package owners.