Skip to content

Commit

Permalink
FDP-1968: spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Loes Immens <[email protected]>
  • Loading branch information
loesimmens committed Sep 5, 2024
1 parent 50065cb commit a768938
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ class IntegrationTestCoapClient {
return Configuration.getStandard()
.set(CoapConfig.COAP_SECURE_PORT, coapsPort.toInt())
.set(DtlsConfig.DTLS_ROLE, DtlsConfig.DtlsRole.CLIENT_ONLY)
.set(
DtlsConfig.DTLS_CIPHER_SUITES,
cipherSuites)
.set(DtlsConfig.DTLS_CIPHER_SUITES, cipherSuites)
}

private fun getUri(): String =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import org.eclipse.californium.scandium.MdcConnectionListener
import org.eclipse.californium.scandium.config.DtlsConfig
import org.eclipse.californium.scandium.config.DtlsConfig.DtlsRole
import org.eclipse.californium.scandium.config.DtlsConnectorConfig
import org.eclipse.californium.scandium.dtls.cipher.CipherSuite
import org.eclipse.californium.scandium.dtls.cipher.CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256
import org.eclipse.californium.scandium.dtls.cipher.CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256
import org.eclipse.californium.scandium.dtls.pskstore.AdvancedPskStore
Expand Down Expand Up @@ -78,9 +77,7 @@ class CoapConfiguration(
.set(
DtlsConfig.DTLS_PRESELECTED_CIPHER_SUITES,
listOf(TLS_PSK_WITH_AES_128_CBC_SHA256, TLS_PSK_WITH_AES_128_GCM_SHA256))
.set(
DtlsConfig.DTLS_CIPHER_SUITES,
coapProps.cipherSuites)
.set(DtlsConfig.DTLS_CIPHER_SUITES, coapProps.cipherSuites)
.set(DtlsConfig.DTLS_CLIENT_AUTHENTICATION_MODE, CertificateAuthenticationMode.NONE)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// SPDX-License-Identifier: Apache-2.0
package org.gxf.standalonenotifyinggateway.coaphttpproxy.coap.configuration.properties

import org.eclipse.californium.scandium.dtls.cipher.CipherSuite
import java.time.Duration
import org.eclipse.californium.scandium.dtls.cipher.CipherSuite
import org.springframework.boot.context.properties.ConfigurationProperties

@ConfigurationProperties(prefix = "config.coap")
Expand Down

0 comments on commit a768938

Please sign in to comment.