# Packages

Code generated by counterfeiter.

# Functions

AddPemToCertPool adds PEM-encoded certs to a cert pool.
ClientKeepaliveOptions returns gRPC keepalive options for clients.
ExtractCertificateFromContext returns the TLS certificate (if applicable) from the given context of a gRPC stream.
ExtractCertificateHashFromContext extracts the hash of the certificate from the given context.
ExtractRawCertificateFromContext returns the raw TLS certificate (if applicable) from the given context of a gRPC stream.
GetCredentialSupport returns the singleton CredentialSupport instance.
No description provided by the author
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.
NewClientConnectionWithAddress Returns a new grpc.ClientConn to the given address.
NewConnectionProducer creates a new ConnectionProducer with given endpoints and connection factory.
NewGRPCClient creates a new implementation of GRPCClient given an address and client configuration.
NewGRPCServer creates a new implementation of a GRPCServer given a listen address.
NewGRPCServerFromListener creates a new implementation of a GRPCServer given an existing net.Listener instance using default keepalive.
No description provided by the author
NewServerTransportCredentials returns a new initialized grpc/credentials.TransportCredentials.
No description provided by the author
No description provided by the author
ServerKeepaliveOptions returns gRPC keepalive options for server.
No description provided by the author

# Variables

No description provided by the author
default connection timeout.
Default peer keepalive options.
strong TLS cipher suites.
No description provided by the author
Max send and receive bytes for grpc clients and servers.
Configuration defaults.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ClientConfig defines the parameters for configuring a GRPCClient instance.
ConnProducer produces connections.
CredentialSupport type manages credentials used for gRPC client connections.
No description provided by the author
EndpointCriteria defines an endpoint, and a list of trusted organizations it corresponds to.
No description provided by the author
No description provided by the author
KeepaliveOptions is used to set the gRPC keepalive settings for both clients and servers.
No description provided by the author
No description provided by the author
SecureOptions defines the security parameters (e.g.
ServerConfig defines the parameters for configuring a GRPCServer instance.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

ConnectionProducer produces connections out of a set of predefined endpoints.
No description provided by the author

# 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.
CertificateBundle bundles certificates.
ConnectionFactory creates a connection to a certain endpoint.
No description provided by the author
OrgRootCAs defines root CA certificates of organizations, by their corresponding channels.
PerOrgCertificateBundle maps organizations to CertificateBundles.
No description provided by the author
TLSOption changes the given TLS config.