Package com.sap.cloud.sdk.cloudplatform
Interface PlatformSslContextProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates an SslContext based on properties of the platform.
-
Method Summary
Modifier and TypeMethodDescriptionio.vavr.control.Try<SSLContext>
Try to create anSSLContext
based on an identity provided by the platform.
-
Method Details
-
tryGetContext
Try to create anSSLContext
based on an identity provided by the platform. For example, the platform may provide X509 certificates in environment variables or on the file system.- Returns:
- A
Try
containing either the derived SSL context or a failure.
-