SslClientCredentialsOptions class
The structure below exactly match the corresponding gRPC SslCredentialsOptions structure.
Options used to build SslCredentials.
Constructors
- SslClientCredentialsOptions(String pemRootCerts, String pemPrivateKey, String pemCertChain)
- Creates a new instance.
- SslClientCredentialsOptions.withoutMutualTLS(String pemRootCerts)
-
The constructor which creates a new instance and sets both
pem_private_keyandpem_cert_chainto empty strings.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pemCertChain ↔ String
-
The client's certificate chain in PEM format.
It must be non-empty for mutual TLS. Else must be set to empty string.
getter/setter pair
- pemPrivateKey ↔ String
-
The client's private key in PEM format.
It must be non-empty for mutual TLS. Else must be set to empty string.
getter/setter pair
- pemRootCerts ↔ String
-
The PEM-encoded root certificates used to verify the server.
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