Interface ClientSslConfig

    • Method Detail

      • hostnameVerificationAlgorithm

        @Nullable
        java.lang.String hostnameVerificationAlgorithm()
        Get the algorithm to use for hostname verification to verify the server identity.
        Returns:
        The algorithm to use when verifying the host name. See Endpoint Identification Algorithm Name.
        See Also:
        SSLParameters.setEndpointIdentificationAlgorithm(String)
      • peerHost

        @Nullable
        java.lang.String peerHost()
        Get the non-authoritative name of the peer.
        Returns:
        the non-authoritative name of the peer, or null if unavailable (which may disable hostname verification and session resumption).
        See Also:
        SSLEngine.getPeerHost()
      • peerPort

        int peerPort()
        Get the non-authoritative port of the peer.
        Returns:
        the non-authoritative port of the peer, or -1 if unavailable (which may prevent session resumption).
        See Also:
        SSLEngine.getPeerPort()
      • sniHostname

        @Nullable
        java.lang.String sniHostname()
        Get the SNI host name.
        Returns:
        The SNI host name, or null to not enable SNI.
        See Also:
        SSLParameters.setServerNames(List)