summaryrefslogtreecommitdiffstats
path: root/sources/hv-collector-ssl/src/main/kotlin/org/onap/dcae/collectors/veshv/ssl/boundary/SslContextFactory.kt
diff options
context:
space:
mode:
Diffstat (limited to 'sources/hv-collector-ssl/src/main/kotlin/org/onap/dcae/collectors/veshv/ssl/boundary/SslContextFactory.kt')
-rw-r--r--sources/hv-collector-ssl/src/main/kotlin/org/onap/dcae/collectors/veshv/ssl/boundary/SslContextFactory.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/hv-collector-ssl/src/main/kotlin/org/onap/dcae/collectors/veshv/ssl/boundary/SslContextFactory.kt b/sources/hv-collector-ssl/src/main/kotlin/org/onap/dcae/collectors/veshv/ssl/boundary/SslContextFactory.kt
index 805d94d2..f72ddecb 100644
--- a/sources/hv-collector-ssl/src/main/kotlin/org/onap/dcae/collectors/veshv/ssl/boundary/SslContextFactory.kt
+++ b/sources/hv-collector-ssl/src/main/kotlin/org/onap/dcae/collectors/veshv/ssl/boundary/SslContextFactory.kt
@@ -30,7 +30,7 @@ import org.onap.dcaegen2.services.sdk.security.ssl.SslFactory
class SslContextFactory(private val sslFactory: SslFactory = SslFactory()) {
fun createServerContext(secConfig: SecurityConfiguration): Option<SslContext> =
secConfig.keys.map { sslFactory.createSecureServerContext(it) }
+
fun createClientContext(secConfig: SecurityConfiguration): Option<SslContext> =
secConfig.keys.map { sslFactory.createSecureClientContext(it) }
-
}