accesscontrol

package
v0.0.0-...-95b87ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
	// contains filtered or unexported fields
}

func NewAuthenticator

func NewAuthenticator(ca tlsgen.CA) *Authenticator

func (*Authenticator) Generate

func (ac *Authenticator) Generate(ccName string) (*CertAndPrivKeyPair, error)

func (*Authenticator) Wrap

type CertAndPrivKeyPair

type CertAndPrivKeyPair struct {
	Cert []byte

	Key []byte
}

type ChaincodeStream

type ChaincodeStream interface {
	Send(*pb.ChaincodeMessage) error

	Recv() (*pb.ChaincodeMessage, error)
}

type KeyGenFunc

type KeyGenFunc func() (*tlsgen.CertKeyPair, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL