package handshaker

Import Path
	google.golang.org/grpc/credentials/alts/internal/handshaker (on go.dev)

Dependency Relation
	imports 13 packages, and imported by one package

Involved Source Files Package handshaker provides ALTS handshaking functionality for GCP.
Package-Level Type Names (total 3, in which 2 are exported)
/* sort exporteds by: | */
ClientHandshakerOptions contains the client handshaker options that can provided by the caller. ClientIdentity is the handshaker client local identity. RPCVersions specifies the gRPC versions accepted by the client. TargetName is the server service account name for secure name checking. TargetServiceAccounts contains a list of expected target service accounts. One of these accounts should match one of the accounts in the handshaker results. Otherwise, the handshake fails. func DefaultClientHandshakerOptions() *ClientHandshakerOptions func NewClientHandshaker(ctx context.Context, conn *grpc.ClientConn, c net.Conn, opts *ClientHandshakerOptions) (core.Handshaker, error)
ServerHandshakerOptions contains the server handshaker options that can provided by the caller. RPCVersions specifies the gRPC versions accepted by the server. func DefaultServerHandshakerOptions() *ServerHandshakerOptions func NewServerHandshaker(ctx context.Context, conn *grpc.ClientConn, c net.Conn, opts *ServerHandshakerOptions) (core.Handshaker, error)
Package-Level Functions (total 7, in which 4 are exported)
DefaultClientHandshakerOptions returns the default client handshaker options.
DefaultServerHandshakerOptions returns the default client handshaker options.
NewClientHandshaker creates a ALTS handshaker for GCP which contains an RPC stub created using the passed conn and used to talk to the ALTS Handshaker service in the metadata server.
NewServerHandshaker creates a ALTS handshaker for GCP which contains an RPC stub created using the passed conn and used to talk to the ALTS Handshaker service in the metadata server.
Package-Level Variables (total 9, none are exported)
Package-Level Constants (total 3, none are exported)