play.api.libs.ws.ssl

SSLConfig

Related Doc: package ssl

case class SSLConfig(default: Boolean = false, protocol: String = "TLSv1.2", checkRevocation: Option[Boolean] = None, revocationLists: Option[Seq[URL]] = None, enabledCipherSuites: Option[Seq[String]] = None, enabledProtocols: Option[Seq[String]] = ..., disabledSignatureAlgorithms: Seq[String] = Seq("MD2", "MD4", "MD5"), disabledKeyAlgorithms: Seq[String] = ..., keyManagerConfig: KeyManagerConfig = KeyManagerConfig(), trustManagerConfig: TrustManagerConfig = TrustManagerConfig(), hostnameVerifierClass: Class[_ <: HostnameVerifier] = classOf[DefaultHostnameVerifier], secureRandom: Option[SecureRandom] = None, debug: SSLDebugConfig = SSLDebugConfig(), loose: SSLLooseConfig = SSLLooseConfig()) extends Product with Serializable

The SSL configuration.

default

Whether we should use the default JVM SSL configuration or not.

protocol

The SSL protocol to use. Defaults to TLSv1.2.

checkRevocation

Whether revocation lists should be checked, if None, defaults to platform default setting.

revocationLists

The revocation lists to check.

enabledCipherSuites

If defined, override the platform default cipher suites.

enabledProtocols

If defined, override the platform default protocols.

disabledSignatureAlgorithms

The disabled signature algorithms.

disabledKeyAlgorithms

The disabled key algorithms.

keyManagerConfig

The key manager configuration.

trustManagerConfig

The trust manager configuration.

hostnameVerifierClass

The hostname verifier class.

secureRandom

The SecureRandom instance to use. Let the platform choose if None.

debug

The debug config.

loose

Loose configuratino parameters

Source
Config.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SSLConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SSLConfig(default: Boolean = false, protocol: String = "TLSv1.2", checkRevocation: Option[Boolean] = None, revocationLists: Option[Seq[URL]] = None, enabledCipherSuites: Option[Seq[String]] = None, enabledProtocols: Option[Seq[String]] = ..., disabledSignatureAlgorithms: Seq[String] = Seq("MD2", "MD4", "MD5"), disabledKeyAlgorithms: Seq[String] = ..., keyManagerConfig: KeyManagerConfig = KeyManagerConfig(), trustManagerConfig: TrustManagerConfig = TrustManagerConfig(), hostnameVerifierClass: Class[_ <: HostnameVerifier] = classOf[DefaultHostnameVerifier], secureRandom: Option[SecureRandom] = None, debug: SSLDebugConfig = SSLDebugConfig(), loose: SSLLooseConfig = SSLLooseConfig())

    default

    Whether we should use the default JVM SSL configuration or not.

    protocol

    The SSL protocol to use. Defaults to TLSv1.2.

    checkRevocation

    Whether revocation lists should be checked, if None, defaults to platform default setting.

    revocationLists

    The revocation lists to check.

    enabledCipherSuites

    If defined, override the platform default cipher suites.

    enabledProtocols

    If defined, override the platform default protocols.

    disabledSignatureAlgorithms

    The disabled signature algorithms.

    disabledKeyAlgorithms

    The disabled key algorithms.

    keyManagerConfig

    The key manager configuration.

    trustManagerConfig

    The trust manager configuration.

    hostnameVerifierClass

    The hostname verifier class.

    secureRandom

    The SecureRandom instance to use. Let the platform choose if None.

    debug

    The debug config.

    loose

    Loose configuratino parameters

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val checkRevocation: Option[Boolean]

    Whether revocation lists should be checked, if None, defaults to platform default setting.

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val debug: SSLDebugConfig

    The debug config.

  8. val default: Boolean

    Whether we should use the default JVM SSL configuration or not.

  9. val disabledKeyAlgorithms: Seq[String]

    The disabled key algorithms.

  10. val disabledSignatureAlgorithms: Seq[String]

    The disabled signature algorithms.

  11. val enabledCipherSuites: Option[Seq[String]]

    If defined, override the platform default cipher suites.

  12. val enabledProtocols: Option[Seq[String]]

    If defined, override the platform default protocols.

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. val hostnameVerifierClass: Class[_ <: HostnameVerifier]

    The hostname verifier class.

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val keyManagerConfig: KeyManagerConfig

    The key manager configuration.

  19. val loose: SSLLooseConfig

    Loose configuratino parameters

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. val protocol: String

    The SSL protocol to use.

    The SSL protocol to use. Defaults to TLSv1.2.

  24. val revocationLists: Option[Seq[URL]]

    The revocation lists to check.

  25. val secureRandom: Option[SecureRandom]

    The SecureRandom instance to use.

    The SecureRandom instance to use. Let the platform choose if None.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. val trustManagerConfig: TrustManagerConfig

    The trust manager configuration.

  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped