Class ReadOnlyClientSecurityConfig

  • Direct Known Subclasses:
    ClientSecurityConfig

    public class ReadOnlyClientSecurityConfig
    extends java.lang.Object
    Read-only security config for clients.
    • Field Detail

      • hostnameVerificationAlgorithm

        @Nullable
        protected java.lang.String hostnameVerificationAlgorithm
      • hostNameVerificationHost

        @Nullable
        protected java.lang.String hostNameVerificationHost
      • sniHostname

        @Nullable
        protected java.lang.String sniHostname
      • keyManagerFactory

        @Nullable
        protected javax.net.ssl.KeyManagerFactory keyManagerFactory
      • keyCertChainSupplier

        protected java.util.function.Supplier<java.io.InputStream> keyCertChainSupplier
      • keySupplier

        protected java.util.function.Supplier<java.io.InputStream> keySupplier
      • keyPassword

        @Nullable
        protected java.lang.String keyPassword
    • Constructor Detail

      • ReadOnlyClientSecurityConfig

        protected ReadOnlyClientSecurityConfig​(java.lang.String serverHostname,
                                               int serverPort)
        Creates new instance.
        Parameters:
        serverHostname - Hostname for the server.
        serverPort - Port for the server.
    • Method Detail

      • hostnameVerificationAlgorithm

        @Nullable
        public java.lang.String hostnameVerificationAlgorithm()
        Returns the host name verification algorithm.
        Returns:
        The host name verification algorithm.
      • hostnameVerificationHost

        @Nullable
        public java.lang.String hostnameVerificationHost()
        Returns the host name verification host.
        Returns:
        The host name verification host.
      • hostnameVerificationPort

        public int hostnameVerificationPort()
        Returns the host name verification port.
        Returns:
        The host name verification port.
      • sniHostname

        @Nullable
        public java.lang.String sniHostname()
        Returns the SNI host name.
        Returns:
        The SNI host name.