mirror of https://github.com/grpc/grpc-go.git
internal/credentials/xds: Add exported comment for HandshakeInfo (#6823)
This commit is contained in:
parent
737f87b6a1
commit
1b05500d80
|
@ -91,6 +91,8 @@ type HandshakeInfo struct {
|
|||
requireClientCert bool // Only on server side.
|
||||
}
|
||||
|
||||
// NewHandshakeInfo returns a new handshake info configured with the provided
|
||||
// options.
|
||||
func NewHandshakeInfo(rootProvider certprovider.Provider, identityProvider certprovider.Provider, sanMatchers []matcher.StringMatcher, requireClientCert bool) *HandshakeInfo {
|
||||
return &HandshakeInfo{
|
||||
rootProvider: rootProvider,
|
||||
|
|
Loading…
Reference in New Issue