package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev

# Packages

Code generated by counterfeiter.

# Functions

ExtractChannelHeaderCertHash extracts the TLS cert hash from a channel header.
NewBindingInspector returns a BindingInspector according to whether mutualTLS is configured or not, and according to a function that extracts TLS certificate hashes from proto messages.
NewHandler creates an implementation of the Handler interface.
NewSessionAC creates an instance of SessionAccessControl.

# Structs

Handler handles server requests.
Server is a polymorphic structure to support generalization of this handler to be able to deliver different type of responses.
SessionAccessControl holds access control related data for a common Envelope that is used to determine if a request is allowed for the identity associated with the request envelope.

# Interfaces

Chain encapsulates chain operations and data.
ChainManager provides a way for the Handler to look up the Chain.
ConfigSequencer provides the sequence number of the current config block.
Filtered is a marker interface that indicates a response sender is configured to send filtered blocks Note: this is replaced by "data_type" label.
Inspector verifies an appropriate binding between the message and the context.
PolicyChecker checks the envelope against the policy logic supplied by the function.
Receiver is used to receive enveloped seek requests.
ResponseSender defines the interface a handler must implement to send responses.

# Type aliases

BindingInspector receives as parameters a gRPC context and an Envelope, and verifies whether the message contains an appropriate binding to the context.
CertHashExtractor extracts a certificate from a proto.Message message.
ExpiresAtFunc is used to extract the time at which an identity expires.
The InspectorFunc is an adapter that allows the use of an ordinary function as an Inspector.
The PolicyCheckerFunc is an adapter that allows the use of an ordinary function as a PolicyChecker.