SslServerCredentialsOptions (API Reference)
Class SslServerCredentialsOptions
java.lang.Object
com.here.sdk.maploader.remote.connection.SslServerCredentialsOptions
The structure below exactly match the corresponding gRPC SslServerCredentialsOptions structure. Options for configuring a gRPC server with SSL/TLS credentials.
-
Field Summary
FieldsModifier and TypeFieldDescriptionIndicates whether the server should request and verify the client's certificate.List of server key/certificate pairs.Root certificates (in PEM format) used to verify the client certificate. -
Constructor Summary
ConstructorsConstructorDescriptionSslServerCredentialsOptions(String pemRootCerts, List<PemKeyCertPair> pemKeyCertPairs, ClientCertificateRequestType clientCertificateRequest) Creates a new instance. -
Method Summary
-
Field Details
-
pemRootCerts
Root certificates (in PEM format) used to verify the client certificate. Required only for mutual TLS.
-
pemKeyCertPairs
List of server key/certificate pairs. At least one pair must be provided.
-
clientCertificateRequest
Indicates whether the server should request and verify the client's certificate.
-
-
Constructor Details
-
SslServerCredentialsOptions
public SslServerCredentialsOptions(@NonNull String pemRootCerts, @NonNull List<PemKeyCertPair> pemKeyCertPairs, @NonNull ClientCertificateRequestType clientCertificateRequest) Creates a new instance.
- Parameters:
pemRootCerts-Root certificates (in PEM format) used to verify the client certificate. Required only for mutual TLS.
pemKeyCertPairs-List of server key/certificate pairs. At least one pair must be provided.
clientCertificateRequest-Indicates whether the server should request and verify the client's certificate.
-