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 SigningKey
defaultKey()
Returns the defaultSigningKey
to use when the server name is unknown.Map<String,SigningKey>
serverNames()
Returns the SNI mapping from server names toSigningKey
s.
-
-
-
Constructor Detail
-
SniConfiguration
public SniConfiguration(Map<String,SigningKey> serverNames, SigningKey defaultKey)
Constructs an SNI configuration instance.- Parameters:
serverNames
- the map used to retrieve aSigningKey
associated to a server namedefaultKey
- the defaultSigningKey
to use for when server name is unknown
-
-
Method Detail
-
serverNames
public Map<String,SigningKey> serverNames()
Returns the SNI mapping from server names toSigningKey
s.- Returns:
- the SNI mapping from server names to
SigningKey
s
-
defaultKey
public SigningKey defaultKey()
Returns the defaultSigningKey
to use when the server name is unknown.- Returns:
- the default
SigningKey
to use when the server name is unknown
-
-