Package

com.typesafe.sslconfig

ssl

Permalink

package ssl

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ssl
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class ClientAuth extends AnyRef

    Permalink

    An SSLEngine can either demand, allow or ignore its peer’s authentication (via certificates), where Need will fail the handshake if the peer does not provide valid credentials, Want allows the peer to send credentials and verifies them if provided, and None disables peer certificate verification.

    An SSLEngine can either demand, allow or ignore its peer’s authentication (via certificates), where Need will fail the handshake if the peer does not provide valid credentials, Want allows the peer to send credentials and verifies them if provided, and None disables peer certificate verification.

    See the documentation for SSLEngine::setWantClientAuth for more information.

  2. class CompositeCertificateException extends CertificateException

    Permalink

    A certificate exception that contains underlying exceptions.

  3. class CompositeX509KeyManager extends X509ExtendedKeyManager

    Permalink

    A keymanager that wraps other X509 key managers.

  4. class CompositeX509TrustManager extends X509TrustManager

    Permalink

    A trust manager that is a composite of several smaller trust managers.

    A trust manager that is a composite of several smaller trust managers. It is responsible for verifying the credentials received from a peer.

  5. class ConfigSSLContextBuilder extends SSLContextBuilder

    Permalink

    Creates an SSL context builder from info objects.

  6. class DefaultKeyManagerFactoryWrapper extends KeyManagerFactoryWrapper

    Permalink
  7. class DefaultTrustManagerFactoryWrapper extends TrustManagerFactoryWrapper

    Permalink
  8. class DisabledComplainingHostnameVerifier extends HostnameVerifier

    Permalink

    Add a disabled but complaining hostname verifier.

  9. final class FakeChainedKeyStore extends AnyRef

    Permalink

    A fake key store

    A fake key store

    Was: play.core.server.ssl.FakeKeyStore

  10. final class FakeKeyStore extends AnyRef

    Permalink

    A fake key store

    A fake key store

    Was: play.core.server.ssl.FakeKeyStore

  11. class FileBasedKeyStoreBuilder extends KeyStoreBuilder

    Permalink

    Builds a keystore from a file containing PEM encoded certificates, using CertificateFactory internally.

    Builds a keystore from a file containing PEM encoded certificates, using CertificateFactory internally.

    See also

    java.security.cert.CertificateFactory

  12. class FileOnClasspathBasedKeyStoreBuilder extends KeyStoreBuilder

    Permalink
  13. final class KeyManagerConfig extends AnyRef

    Permalink

    The key manager config.

  14. trait KeyManagerFactoryWrapper extends AnyRef

    Permalink
  15. trait KeyStoreBuilder extends AnyRef

    Permalink
  16. final class KeyStoreConfig extends AnyRef

    Permalink

    Configuration for a keystore.

    Configuration for a keystore.

    A key store must either provide a file path, or a data String.

    Either key store path or data must be defined, but not both.

  17. final class NoopHostnameVerifier extends HostnameVerifier

    Permalink
  18. class SSLConfigParser extends AnyRef

    Permalink
  19. final class SSLConfigSettings extends AnyRef

    Permalink

    The SSL configuration.

  20. trait SSLContextBuilder extends AnyRef

    Permalink
  21. final class SSLDebugConfig extends AnyRef

    Permalink

    SSL debug configuration.

  22. final class SSLLooseConfig extends AnyRef

    Permalink

    Configuration for specifying loose (potentially dangerous) ssl config.

  23. final class SSLParametersConfig extends AnyRef

    Permalink

    Carries values which will be later set on an SSLParameters object.

  24. class SimpleSSLContextBuilder extends SSLContextBuilder

    Permalink

    A simple SSL context builder.

    A simple SSL context builder. If the keyManagers or trustManagers are empty, then null is used in the init method. Likewise, if secureRandom is None then null is used.

  25. class StringBasedKeyStoreBuilder extends KeyStoreBuilder

    Permalink

    Builds a keystore from a string containing PEM encoded certificates, using CertificateFactory internally.

    Builds a keystore from a string containing PEM encoded certificates, using CertificateFactory internally.

    See also

    java.security.cert.CertificateFactory

  26. class SystemConfiguration extends AnyRef

    Permalink

    Configures global system properties on the JSSE implementation, if defined.

    Configures global system properties on the JSSE implementation, if defined.

    WARNING: This class sets system properties to configure JSSE code which typically uses static initialization on load. Because of this, if classes are loaded in BEFORE this code has a chance to operate, you may find that this code works inconsistently. The solution is to set the system properties on the command line explicitly (or in the case of "ocsp.enable", in the security property file).

  27. final class TrustManagerConfig extends AnyRef

    Permalink

    The trust manager config.

  28. trait TrustManagerFactoryWrapper extends AnyRef

    Permalink
  29. final class TrustStoreConfig extends AnyRef

    Permalink

    Configuration for a trust store.

    Configuration for a trust store.

    A trust store must either provide a file path, or a data String.

  30. class AlgorithmChecker extends AnyRef

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0) not operative

  31. class AlgorithmConstraint extends AnyRef

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0) not operative

  32. class DefaultHostnameVerifier extends HostnameVerifier

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) DefaultHostnameVerifier has been deprecated and does nothing. Please use the javax.net.debug system property.

  33. class JavaSecurityDebugBuilder extends AnyRef

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) Setting system properties in JSSE after JVM initialization is unreliable. Please set the java.security.debug system property at startup.

    See also

    http://docs.oracle.com/javase/8/docs/technotes/guides/security/certpath/CertPathProgGuide.html

  34. class JavaxNetDebugBuilder extends AnyRef

    Permalink

    A builder for setting the system property options in "javax.net.debug" and in "java.security.debug' (in the case of "certpath").

    A builder for setting the system property options in "javax.net.debug" and in "java.security.debug' (in the case of "certpath").

    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) Setting system properties in JSSE after JVM initialization is unreliable. Please set the javax.net.debug system property at startup.

    See also

    http://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/ReadDebug.html

    http://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/JSSERefGuide.html#Debug

  35. trait MonkeyPatcher extends AnyRef

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) MonkeyPatcher has been deprecated and does nothing. Please use the javax.net.debug system property.

  36. final class SSLDebugHandshakeOptions extends AnyRef

    Permalink

    SSL handshake debugging options.

    SSL handshake debugging options.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) not operative

  37. final class SSLDebugRecordOptions extends AnyRef

    Permalink

    SSL record debugging options.

    SSL record debugging options.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) not operative

Value Members

  1. object ClientAuth

    Permalink
  2. object CompositeCertificateException extends Serializable

    Permalink
  3. object FakeChainedKeyStore

    Permalink

    A fake key store with a selfsigned CA and a certificate issued by that CA.

    A fake key store with a selfsigned CA and a certificate issued by that CA. Includes a trustedCertEntry for each of the two certificates.

    Your keystore contains 4 entries
    
    sslconfig-user-trust, Oct 4, 2018, trustedCertEntry,
    Certificate fingerprint (SHA1): 19:2D:20:F0:36:59:E3:AD:C1:AA:55:82:0D:D2:94:5D:B3:75:3F:F8
    sslconfig-user, Oct 4, 2018, PrivateKeyEntry,
    Certificate fingerprint (SHA1): 19:2D:20:F0:36:59:E3:AD:C1:AA:55:82:0D:D2:94:5D:B3:75:3F:F8
    sslconfig-CA-trust, Oct 4, 2018, trustedCertEntry,
    Certificate fingerprint (SHA1): 9B:78:6B:4F:E4:B6:4D:EF:3E:3E:06:32:7A:53:83:28:96:7F:12:C7
    sslconfig-CA, Oct 4, 2018, PrivateKeyEntry,
    Certificate fingerprint (SHA1): 9B:78:6B:4F:E4:B6:4D:EF:3E:3E:06:32:7A:53:83:28:96:7F:12:C7

    Was: play.core.server.ssl.FakeKeyStore

  4. object FakeKeyStore

    Permalink

    A fake key store with a single, selfsigned certificate and keypair.

    A fake key store with a single, selfsigned certificate and keypair. Includes also a trustedCertEntry for that certificate.

    Your keystore contains 2 entries
    
    sslconfig-selfsigned-trust, Oct 4, 2018, trustedCertEntry,
    Certificate fingerprint (SHA1): 19:2D:20:F0:36:59:E3:AD:C1:AA:55:82:0D:D2:94:5D:B3:75:3F:F8
    sslconfig-selfsigned, Oct 4, 2018, PrivateKeyEntry,
    Certificate fingerprint (SHA1): 19:2D:20:F0:36:59:E3:AD:C1:AA:55:82:0D:D2:94:5D:B3:75:3F:F8

    Was: play.core.server.ssl.FakeKeyStore

  5. object FakeSSLTools

    Permalink
  6. object KeyManagerConfig

    Permalink
  7. object KeyStoreConfig

    Permalink
  8. object KeystoreFormats

    Permalink
  9. object Protocols

    Permalink
  10. object SSLConfigFactory

    Permalink

    Factory for creating SSL config (for use from Java).

  11. object SSLConfigSettings

    Permalink
  12. object SSLDebugConfig

    Permalink
  13. object SSLLooseConfig

    Permalink
  14. object SSLParametersConfig

    Permalink
  15. object TrustManagerConfig

    Permalink
  16. object TrustStoreConfig

    Permalink
  17. implicit def arrayCertsToListCerts(chain: Array[Certificate]): List[Certificate]

    Permalink
  18. implicit def certResult2PKIXResult(result: CertPathValidatorResult): PKIXCertPathValidatorResult

    Permalink
  19. implicit def certificate2X509Certificate(cert: Certificate): X509Certificate

    Permalink
  20. package debug

    Permalink
  21. def debugChain(chain: Array[X509Certificate]): Seq[String]

    Permalink
  22. def isOpenJdk: Boolean

    Permalink

Deprecated Value Members

  1. object SSLDebugHandshakeOptions

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) not operative

  2. object SSLDebugRecordOptions

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) not operative

Inherited from AnyRef

Inherited from Any

Ungrouped