Class ServerTlsOptions.SniConfiguration

    • Constructor Detail

      • SniConfiguration

        public SniConfiguration​(Map<String,​SigningKey> serverNames,
                                SigningKey defaultKey)
        Constructs an SNI configuration instance.
        Parameters:
        serverNames - the map used to retrieve a SigningKey associated to a server name
        defaultKey - the default SigningKey to use for when server name is unknown
    • Method Detail

      • defaultKey

        public SigningKey defaultKey()
        Returns the default SigningKey to use when the server name is unknown.
        Returns:
        the default SigningKey to use when the server name is unknown