Package org.forgerock.openig.tools
Record Class ServerTlsOptions.SniConfiguration
java.lang.Object
java.lang.Record
org.forgerock.openig.tools.ServerTlsOptions.SniConfiguration
- Record Components:
serverNames- the map used to retrieve aSigningKeyassociated to a server namedefaultKey- the defaultSigningKeyto use for when server name is unknown
- Enclosing class:
- ServerTlsOptions
public static record ServerTlsOptions.SniConfiguration(Map<String,SigningKey> serverNames, SigningKey defaultKey)
extends Record
A SNI (Server Name Indication) configuration holder.
-
Constructor Summary
ConstructorsConstructorDescriptionSniConfiguration(Map<String, SigningKey> serverNames, SigningKey defaultKey) Constructs an SNI configuration instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefaultKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theserverNamesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SniConfiguration
Constructs an SNI configuration instance.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
serverNames
Returns the value of theserverNamesrecord component.- Returns:
- the value of the
serverNamesrecord component
-
defaultKey
Returns the value of thedefaultKeyrecord component.- Returns:
- the value of the
defaultKeyrecord component
-