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 ¶
func (auth *Authenticator) Wrap(srv pb.ChaincodeSupportServer) pb.ChaincodeSupportServer
type CertAndPrivKeyPair ¶
type ChaincodeStream ¶
type ChaincodeStream interface { Send(*pb.ChaincodeMessage) error Recv() (*pb.ChaincodeMessage, error) }
type KeyGenFunc ¶
type KeyGenFunc func() (*tlsgen.CertKeyPair, error)
Click to show internal directories.
Click to hide internal directories.