Package org.forgerock.openig.tools
Class ServerTlsOptions.SniConfiguration
- java.lang.Object
-
- org.forgerock.openig.tools.ServerTlsOptions.SniConfiguration
-
- Enclosing class:
- ServerTlsOptions
public static class ServerTlsOptions.SniConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description SniConfiguration(Map<String,SigningKey> serverNames, SigningKey defaultKey)Constructs an SNI configuration instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SigningKeydefaultKey()Returns the defaultSigningKeyto use when the server name is unknown.Map<String,SigningKey>serverNames()Returns the SNI mapping from server names toSigningKeys.
-
-
-
Constructor Detail
-
SniConfiguration
public SniConfiguration(Map<String,SigningKey> serverNames, SigningKey defaultKey)
Constructs an SNI configuration instance.- Parameters:
serverNames- the map used to retrieve aSigningKeyassociated to a server namedefaultKey- the defaultSigningKeyto use for when server name is unknown
-
-
Method Detail
-
serverNames
public Map<String,SigningKey> serverNames()
Returns the SNI mapping from server names toSigningKeys.- Returns:
- the SNI mapping from server names to
SigningKeys
-
defaultKey
public SigningKey defaultKey()
Returns the defaultSigningKeyto use when the server name is unknown.- Returns:
- the default
SigningKeyto use when the server name is unknown
-
-