diff --git a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/castor/CastorImpl.kt b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/castor/CastorImpl.kt index d7c1a0f3a..bed118cea 100644 --- a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/castor/CastorImpl.kt +++ b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/castor/CastorImpl.kt @@ -1,3 +1,5 @@ +@file:Suppress("ktlint:standard:import-ordering") + package org.hyperledger.identus.walletsdk.castor import org.hyperledger.identus.apollo.base64.base64UrlDecodedBytes diff --git a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/keyManagement/ExportableImportableKey.kt b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/keyManagement/ExportableImportableKey.kt index fac2b6fae..e7d561b91 100644 --- a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/keyManagement/ExportableImportableKey.kt +++ b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/keyManagement/ExportableImportableKey.kt @@ -1,3 +1,5 @@ +@file:Suppress("ktlint:standard:import-ordering") + package org.hyperledger.identus.walletsdk.domain.models.keyManagement import org.hyperledger.identus.apollo.base64.base64PadEncoded diff --git a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/edgeagent/helpers/AttachmentDescriptorBuild.kt b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/edgeagent/helpers/AttachmentDescriptorBuild.kt index c37890ff2..b35ae4bb8 100644 --- a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/edgeagent/helpers/AttachmentDescriptorBuild.kt +++ b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/edgeagent/helpers/AttachmentDescriptorBuild.kt @@ -1,3 +1,5 @@ +@file:Suppress("ktlint:standard:import-ordering") + package org.hyperledger.identus.walletsdk.edgeagent.helpers import org.hyperledger.identus.apollo.base64.base64UrlEncoded diff --git a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/edgeagent/protocols/outOfBand/OutOfBandParser.kt b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/edgeagent/protocols/outOfBand/OutOfBandParser.kt index 1436af723..d2b87b2e2 100644 --- a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/edgeagent/protocols/outOfBand/OutOfBandParser.kt +++ b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/edgeagent/protocols/outOfBand/OutOfBandParser.kt @@ -1,3 +1,5 @@ +@file:Suppress("ktlint:standard:import-ordering") + package org.hyperledger.identus.walletsdk.edgeagent.protocols.outOfBand import org.hyperledger.identus.apollo.base64.base64UrlDecoded diff --git a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DIDCommSecretsResolver.kt b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DIDCommSecretsResolver.kt index bb7a8314a..9cedd4371 100644 --- a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DIDCommSecretsResolver.kt +++ b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DIDCommSecretsResolver.kt @@ -1,3 +1,5 @@ +@file:Suppress("ktlint:standard:import-ordering") + package org.hyperledger.identus.walletsdk.mercury.resolvers import org.hyperledger.identus.apollo.base64.base64UrlEncoded diff --git a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DefaultSecretsResolverImpl.kt b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DefaultSecretsResolverImpl.kt index b88bd53e1..2a7eb3865 100644 --- a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DefaultSecretsResolverImpl.kt +++ b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DefaultSecretsResolverImpl.kt @@ -1,3 +1,5 @@ +@file:Suppress("ktlint:standard:import-ordering") + package org.hyperledger.identus.walletsdk.mercury.resolvers import org.hyperledger.identus.apollo.base64.base64UrlEncoded diff --git a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/pluto/PlutoImpl.kt b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/pluto/PlutoImpl.kt index 7ca13d5d6..038f06e98 100644 --- a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/pluto/PlutoImpl.kt +++ b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/pluto/PlutoImpl.kt @@ -1,3 +1,5 @@ +@file:Suppress("ktlint:standard:import-ordering") + package org.hyperledger.identus.walletsdk.pluto import app.cash.sqldelight.ColumnAdapter diff --git a/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/apollo/ApolloTests.kt b/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/apollo/ApolloTests.kt index cf4386875..0059126ec 100644 --- a/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/apollo/ApolloTests.kt +++ b/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/apollo/ApolloTests.kt @@ -1,3 +1,5 @@ +@file:Suppress("ktlint:standard:import-ordering") + package org.hyperledger.identus.walletsdk.apollo import org.hyperledger.identus.apollo.base64.base64UrlEncoded diff --git a/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/castor/DIDCreateTest.kt b/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/castor/DIDCreateTest.kt index 8aadeeb41..8794297f1 100644 --- a/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/castor/DIDCreateTest.kt +++ b/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/castor/DIDCreateTest.kt @@ -1,8 +1,10 @@ +@file:Suppress("ktlint:standard:import-ordering") + package org.hyperledger.identus.walletsdk.castor -import org.hyperledger.identus.apollo.base64.base64UrlDecodedBytes import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.test.runTest +import org.hyperledger.identus.apollo.base64.base64UrlDecodedBytes import org.hyperledger.identus.walletsdk.apollo.ApolloImpl import org.hyperledger.identus.walletsdk.apollo.utils.Ed25519KeyPair import org.hyperledger.identus.walletsdk.apollo.utils.Ed25519PrivateKey diff --git a/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/pollux/PolluxImplTest.kt b/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/pollux/PolluxImplTest.kt index 2e86430d1..bafdd5f0f 100644 --- a/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/pollux/PolluxImplTest.kt +++ b/edge-agent-sdk/src/commonTest/kotlin/org/hyperledger/identus/walletsdk/pollux/PolluxImplTest.kt @@ -8,7 +8,6 @@ import com.nimbusds.jose.crypto.ECDSASigner import com.nimbusds.jose.crypto.bc.BouncyCastleProviderSingleton import com.nimbusds.jwt.JWTClaimsSet import com.nimbusds.jwt.SignedJWT -import org.hyperledger.identus.apollo.base64.base64UrlDecodedBytes import org.hyperledger.identus.apollo.derivation.MnemonicHelper import io.ktor.client.plugins.contentnegotiation.ContentNegotiation import io.ktor.http.HttpHeaders @@ -23,9 +22,7 @@ import kotlinx.coroutines.test.runTest import kotlinx.serialization.json.Json import kotlinx.serialization.json.encodeToJsonElement import org.didcommx.didcomm.common.Typ -import org.hyperledger.identus.apollo.utils.KMMECSecp256k1PublicKey import org.hyperledger.identus.walletsdk.apollo.ApolloImpl -import org.hyperledger.identus.walletsdk.apollo.helpers.gunzip import org.hyperledger.identus.walletsdk.apollo.utils.Ed25519KeyPair import org.hyperledger.identus.walletsdk.apollo.utils.Secp256k1KeyPair import org.hyperledger.identus.walletsdk.castor.CastorImpl @@ -53,7 +50,6 @@ import org.hyperledger.identus.walletsdk.edgeagent.shared.KeyValue import org.hyperledger.identus.walletsdk.logger.PrismLogger import org.hyperledger.identus.walletsdk.pollux.models.AnonCredential import org.hyperledger.identus.walletsdk.pollux.models.JWTCredential -import org.hyperledger.identus.walletsdk.pollux.utils.Bitstring import org.mockito.ArgumentMatchers.anyString import org.mockito.Mock import org.mockito.MockitoAnnotations @@ -62,7 +58,6 @@ import org.mockito.kotlin.doNothing import org.mockito.kotlin.doReturn import org.mockito.kotlin.mock import org.mockito.kotlin.spy -import java.lang.Exception import kotlin.test.BeforeTest import kotlin.test.Test import kotlin.test.assertEquals