SslServerCredentialsOptions class
The structure below exactly match the corresponding gRPC SslServerCredentialsOptions structure.
Options for configuring a gRPC server with SSL/TLS credentials.
Constructors
-
SslServerCredentialsOptions(String pemRootCerts, List<
PemKeyCertPair> pemKeyCertPairs, ClientCertificateRequestType clientCertificateRequest) - Creates a new instance.
Properties
- clientCertificateRequest ↔ ClientCertificateRequestType
-
Indicates whether the server should request and verify the client's certificate.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pemKeyCertPairs
↔ List<
PemKeyCertPair> -
List of server key/certificate pairs.
At least one pair must be provided.
getter/setter pair
- pemRootCerts ↔ String
-
Root certificates (in PEM format) used to verify the client certificate.
Required only for mutual TLS.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited