Package org.springframework.boot.ssl
Interface SslOptions
public interface SslOptions
Configuration options that should be applied when establishing an SSL connection.
- Since:
- 3.1.0
- Author:
- Scott Frederick
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturn the ciphers that can be used or an empty set.Return the protocols that should be enabled or an empty set.static SslOptionsFactory method to create a newSslOptionsinstance.static SslOptionsFactory method to create a newSslOptionsinstance.
-
Field Details
-
NONE
SslOptionsthat returnsnullresults.
-
-
Method Details
-
getCiphers
Return the ciphers that can be used or an empty set. The cipher names in this set should be compatible with those supported bySSLEngine.getSupportedCipherSuites().- Returns:
- the ciphers that can be used or
null
-
getEnabledProtocols
Return the protocols that should be enabled or an empty set. The protocols names in this set should be compatible with those supported bySSLEngine.getSupportedProtocols().- Returns:
- the protocols to enable or
null
-
of
Factory method to create a newSslOptionsinstance.- Parameters:
ciphers- the ciphersenabledProtocols- the enabled protocols- Returns:
- a new
SslOptionsinstance
-
of
Factory method to create a newSslOptionsinstance.- Parameters:
ciphers- the ciphersenabledProtocols- the enabled protocols- Returns:
- a new
SslOptionsinstance
-