Click or drag to resize
SslServerCredentials Constructor (IEnumerableKeyCertificatePair, String, Boolean)
Creates server-side SSL credentials.

Namespace: Grpc.Core
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.7.0.0
Syntax
public SslServerCredentials(
	IEnumerable<KeyCertificatePair> keyCertificatePairs,
	string rootCertificates,
	bool forceClientAuth
)

Parameters

keyCertificatePairs
Type: System.Collections.GenericIEnumerableKeyCertificatePair
Key-certificates to use.
rootCertificates
Type: SystemString
PEM encoded client root certificates used to authenticate client.
forceClientAuth
Type: SystemBoolean
If true, client will be rejected unless it proves its unthenticity using against rootCertificates.
See Also