Class SslServerCredentialsOptions

java.lang.Object
com.here.sdk.maploader.remote.connection.SslServerCredentialsOptions

public final class SslServerCredentialsOptions extends Object

The structure below exactly match the corresponding gRPC SslServerCredentialsOptions structure. Options for configuring a gRPC server with SSL/TLS credentials.

  • Field Details

    • pemRootCerts

      @NonNull public String pemRootCerts

      Root certificates (in PEM format) used to verify the client certificate. Required only for mutual TLS.

    • pemKeyCertPairs

      @NonNull public List<PemKeyCertPair> pemKeyCertPairs

      List of server key/certificate pairs. At least one pair must be provided.

    • clientCertificateRequest

      @NonNull public ClientCertificateRequestType 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.