Skip to content

Commit f189250

Browse files
committed
docs: renaming
Signed-off-by: Ahmed Moussa <[email protected]>
1 parent 2e8f089 commit f189250

File tree

223 files changed

+226
-243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+226
-243
lines changed

Diff for: atala-prism-sdk/src/androidMain/AndroidManifest.xml

-2
This file was deleted.

Diff for: build.gradle.kts

+6-16
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import org.gradle.internal.os.OperatingSystem
22
import java.util.Base64
33

4-
val publishedMavenId = "io.iohk.atala.prism.walletsdk"
4+
val publishedMavenId = "org.hyperledger.identus"
55
val os: OperatingSystem = OperatingSystem.current()
66

77
plugins {
88
id("com.android.library") version "8.1.4" apply false
9-
kotlin("jvm") version "1.9.22"
9+
kotlin("jvm") version "1.9.23"
1010
kotlin("plugin.serialization") version "1.8.20"
1111
id("org.jlleitschuh.gradle.ktlint") version "12.1.0"
1212
id("org.jetbrains.dokka") version "1.9.0"
@@ -24,7 +24,7 @@ buildscript {
2424
gradlePluginPortal()
2525
}
2626
dependencies {
27-
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22")
27+
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23")
2828
classpath("com.google.protobuf:protobuf-gradle-plugin:0.9.1")
2929
classpath("com.squareup.sqldelight:gradle-plugin:1.5.5")
3030
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.23.1")
@@ -96,7 +96,7 @@ subprojects {
9696
}
9797
}
9898

99-
if (this.name == "atala-prism-sdk") {
99+
if (this.name == "edge-agent-sdk") {
100100
apply(plugin = "org.gradle.maven-publish")
101101
apply(plugin = "org.gradle.signing")
102102

@@ -107,8 +107,8 @@ subprojects {
107107
artifactId = project.name
108108
version = project.version.toString()
109109
pom {
110-
name.set("Atala PRISM Wallet SDK")
111-
description.set("Atala Prism Wallet SDK - Kotlin Multiplatform (Android/JVM)")
110+
name.set("Identus Edge Agent SDK")
111+
description.set("Identus Edge Agent - Kotlin Multiplatform (Android/JVM)")
112112
url.set("https://docs.atalaprism.io/")
113113
organization {
114114
name.set("IOG")
@@ -197,16 +197,6 @@ subprojects {
197197
}
198198
}
199199
}
200-
repositories {
201-
// maven {
202-
// this.name = "GitHubPackages"
203-
// this.url = uri("https://maven.pkg.github.com/input-output-hk/atala-prism-wallet-sdk-kmm")
204-
// credentials {
205-
// this.username = System.getenv("ATALA_GITHUB_ACTOR")
206-
// this.password = System.getenv("ATALA_GITHUB_TOKEN")
207-
// }
208-
// }
209-
}
210200
}
211201
}
212202
}

Diff for: atala-prism-sdk/build.gradle.kts renamed to edge-agent-sdk/build.gradle.kts

+14-15
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ kotlin {
100100
dependencies {
101101
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
102102
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.5.0")
103-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2")
103+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
104104

105-
implementation("io.ktor:ktor-client-core:2.3.4")
106-
implementation("io.ktor:ktor-client-content-negotiation:2.3.4")
107-
implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.4")
108-
implementation("io.ktor:ktor-client-logging:2.3.4")
109-
implementation("io.ktor:ktor-websockets:2.3.4")
105+
implementation("io.ktor:ktor-client-core:2.3.11")
106+
implementation("io.ktor:ktor-client-content-negotiation:2.3.11")
107+
implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.11")
108+
implementation("io.ktor:ktor-client-logging:2.3.11")
109+
implementation("io.ktor:ktor-websockets:2.3.11")
110110

111111
implementation("io.iohk.atala.prism.didcomm:didpeer:$didpeerVersion")
112112

@@ -134,26 +134,26 @@ kotlin {
134134
dependencies {
135135
implementation(kotlin("test"))
136136
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0")
137-
implementation("io.ktor:ktor-client-mock:2.3.4")
137+
implementation("io.ktor:ktor-client-mock:2.3.11")
138138
implementation("junit:junit:4.13.2")
139139
implementation("org.mockito:mockito-core:4.4.0")
140140
implementation("org.mockito.kotlin:mockito-kotlin:4.0.0")
141141
}
142142
}
143143
val jvmMain by getting {
144144
dependencies {
145-
implementation("io.ktor:ktor-client-okhttp:2.3.4")
145+
implementation("io.ktor:ktor-client-okhttp:2.3.11")
146+
implementation("io.ktor:ktor-client-java:2.3.11")
146147
implementation("app.cash.sqldelight:sqlite-driver:2.0.1")
147-
implementation("io.ktor:ktor-client-java:2.3.4")
148148
}
149149
}
150150
val jvmTest by getting
151151
val androidMain by getting {
152152
dependencies {
153153
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0")
154-
implementation("io.ktor:ktor-client-okhttp:2.3.4")
154+
implementation("io.ktor:ktor-client-okhttp:2.3.11")
155+
implementation("io.ktor:ktor-client-android:2.3.11")
155156
implementation("app.cash.sqldelight:android-driver:2.0.1")
156-
implementation("io.ktor:ktor-client-android:2.3.4")
157157
}
158158
}
159159
val androidInstrumentedTest by getting {
@@ -181,8 +181,7 @@ kotlin {
181181

182182
android {
183183
compileSdk = 34
184-
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
185-
namespace = "org.hyperledger.identus.walletsdk"
184+
namespace = "org.hyperledger.identus"
186185
defaultConfig {
187186
minSdk = 21
188187
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
@@ -225,14 +224,14 @@ sqldelight {
225224
tasks.withType<DokkaTask>().configureEach {
226225
moduleName.set(currentModuleName)
227226
moduleVersion.set(rootProject.version.toString())
228-
description = "This is a Kotlin Multiplatform implementation of AtalaPrismSDK"
227+
description = "This is a Kotlin Multiplatform implementation of Identus Edge Agent KMM"
229228
dokkaSourceSets {
230229
configureEach {
231230
jdkVersion.set(17)
232231
languageVersion.set("1.9.22")
233232
apiVersion.set("2.0")
234233
includes.from(
235-
"docs/AtalaPrismSDK.md",
234+
"docs/EdgeAgentSDK.md",
236235
"docs/Apollo.md",
237236
"docs/Castor.md",
238237
"docs/Mercury.md",

Diff for: atala-prism-sdk/docs/AtalaPrismSDK.md renamed to edge-agent-sdk/docs/EdgeAgentSDK.md

+1-1
File renamed without changes.

Diff for: atala-prism-sdk/src/androidInstrumentedTest/kotlin/org/hyperledger/identus/walletsdk/prismagent/AnoncredsTests.kt renamed to edge-agent-sdk/src/androidInstrumentedTest/kotlin/org/hyperledger/identus/walletsdk/prismagent/AnoncredsTests.kt

-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ import org.hyperledger.identus.walletsdk.mercury.ApiMock
1515
import org.hyperledger.identus.walletsdk.pollux.PolluxImpl
1616
import org.hyperledger.identus.walletsdk.pollux.models.CredentialRequestMeta
1717
import org.hyperledger.identus.walletsdk.pollux.models.LinkSecretBlindingData
18-
import org.hyperledger.identus.walletsdk.prismagent.ConnectionManager
19-
import org.hyperledger.identus.walletsdk.prismagent.PrismAgent
2018
import org.hyperledger.identus.walletsdk.prismagent.protocols.issueCredential.CredentialPreview
2119
import org.hyperledger.identus.walletsdk.prismagent.protocols.issueCredential.IssueCredential
2220
import org.hyperledger.identus.walletsdk.prismagent.protocols.issueCredential.OfferCredential

Diff for: atala-prism-sdk/src/androidMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/Platform.kt renamed to edge-agent-sdk/src/androidMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/Platform.kt

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
package org.hyperledger.identus.walletsdk.domain.models
44

5-
import org.hyperledger.identus.walletsdk.domain.models.PlatformType
6-
75
/**
86
* The `Platform` object represents the platform on which the code is running.
97
*/

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/castor/did/prismdid/PrismDIDPublicKey.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/castor/did/prismdid/PrismDIDPublicKey.kt

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package org.hyperledger.identus.walletsdk.castor.did.prismdid
22

33
import io.iohk.atala.prism.apollo.secp256k1.Secp256k1Lib
4-
import io.iohk.atala.prism.protos.CompressedECKeyData
5-
import io.iohk.atala.prism.protos.KeyUsage
4+
import org.hyperledger.identus.protos.CompressedECKeyData
5+
import org.hyperledger.identus.protos.KeyUsage
66
import org.hyperledger.identus.walletsdk.apollo.utils.Secp256k1PublicKey
77
import org.hyperledger.identus.walletsdk.domain.buildingblocks.Apollo
88
import org.hyperledger.identus.walletsdk.domain.models.CastorError
@@ -48,12 +48,12 @@ class PrismDIDPublicKey {
4848
* @throws CastorError.InvalidPublicKeyEncoding if the encoding of the key is invalid.
4949
*/
5050
@Throws(CastorError.InvalidPublicKeyEncoding::class)
51-
constructor(apollo: Apollo, proto: io.iohk.atala.prism.protos.PublicKey) {
51+
constructor(apollo: Apollo, proto: org.hyperledger.identus.protos.PublicKey) {
5252
this.apollo = apollo
5353
this.id = proto.id
5454
this.usage = proto.usage.fromProto()
5555
this.keyData = when (proto.keyData) {
56-
is io.iohk.atala.prism.protos.PublicKey.KeyData.CompressedEcKeyData -> {
56+
is org.hyperledger.identus.protos.PublicKey.KeyData.CompressedEcKeyData -> {
5757
Secp256k1PublicKey(proto.keyData.value.data.array)
5858
}
5959

@@ -68,12 +68,12 @@ class PrismDIDPublicKey {
6868
*
6969
* @return the converted Protobuf PublicKey object
7070
*/
71-
fun toProto(): io.iohk.atala.prism.protos.PublicKey {
71+
fun toProto(): org.hyperledger.identus.protos.PublicKey {
7272
val compressedPublicKey = Secp256k1PublicKey(Secp256k1Lib().compressPublicKey(keyData.getValue()))
73-
return io.iohk.atala.prism.protos.PublicKey(
73+
return org.hyperledger.identus.protos.PublicKey(
7474
id = id,
7575
usage = usage.toProto(),
76-
keyData = io.iohk.atala.prism.protos.PublicKey.KeyData.CompressedEcKeyData(
76+
keyData = org.hyperledger.identus.protos.PublicKey.KeyData.CompressedEcKeyData(
7777
compressedPublicKey.toProto()
7878
)
7979
)

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/castor/shared/CastorShared.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/castor/shared/CastorShared.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import io.iohk.atala.prism.didcomm.didpeer.VerificationMethodTypeAgreement
1717
import io.iohk.atala.prism.didcomm.didpeer.VerificationMethodTypeAuthentication
1818
import io.iohk.atala.prism.didcomm.didpeer.core.toJsonElement
1919
import io.iohk.atala.prism.didcomm.didpeer.createPeerDIDNumalgo2
20-
import io.iohk.atala.prism.protos.AtalaOperation
21-
import io.iohk.atala.prism.protos.CreateDIDOperation
22-
import io.iohk.atala.prism.protos.Service
20+
import org.hyperledger.identus.protos.AtalaOperation
21+
import org.hyperledger.identus.protos.CreateDIDOperation
22+
import org.hyperledger.identus.protos.Service
2323
import org.hyperledger.identus.walletsdk.apollo.utils.Ed25519KeyPair
2424
import org.hyperledger.identus.walletsdk.apollo.utils.Ed25519PublicKey
2525
import org.hyperledger.identus.walletsdk.apollo.utils.Secp256k1KeyPair

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/buildingblocks/Pollux.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/buildingblocks/Pollux.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import anoncreds_wrapper.CredentialRequestMetadata
77
import anoncreds_wrapper.LinkSecret
88
import anoncreds_wrapper.Presentation
99
import anoncreds_wrapper.Schema
10+
import kotlinx.serialization.json.JsonObject
1011
import org.hyperledger.identus.walletsdk.domain.models.AttachmentDescriptor
1112
import org.hyperledger.identus.walletsdk.domain.models.Credential
1213
import org.hyperledger.identus.walletsdk.domain.models.CredentialType
@@ -15,7 +16,6 @@ import org.hyperledger.identus.walletsdk.domain.models.StorableCredential
1516
import org.hyperledger.identus.walletsdk.domain.models.keyManagement.PrivateKey
1617
import org.hyperledger.identus.walletsdk.pollux.models.AnonCredential
1718
import org.hyperledger.identus.walletsdk.prismagent.protocols.proofOfPresentation.RequestPresentation
18-
import kotlinx.serialization.json.JsonObject
1919

2020
/**
2121
* The `Pollux` interface represents a set of operations for working with verifiable credentials.

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/ApiImpl.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/ApiImpl.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package org.hyperledger.identus.walletsdk.domain.models
22

3-
import org.hyperledger.identus.walletsdk.prismagent.shared.KeyValue
4-
import org.hyperledger.identus.walletsdk.prismagent.shared.PrismShared
53
import io.ktor.client.HttpClient
64
import io.ktor.client.request.request
75
import io.ktor.client.statement.bodyAsText
86
import io.ktor.http.HttpMethod
97
import io.ktor.http.Url
8+
import org.hyperledger.identus.walletsdk.prismagent.shared.KeyValue
9+
import org.hyperledger.identus.walletsdk.prismagent.shared.PrismShared
1010

1111
/**
1212
* Implementation of API interface for http requests.

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/DID.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/DID.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package org.hyperledger.identus.walletsdk.domain.models
22

3+
import kotlinx.serialization.Serializable
34
import org.hyperledger.identus.walletsdk.domain.DID
45
import org.hyperledger.identus.walletsdk.domain.DID_SEPARATOR
5-
import kotlinx.serialization.Serializable
66
import kotlin.jvm.JvmOverloads
77
import kotlin.jvm.JvmStatic
88

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/JWTPayload.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/JWTPayload.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.hyperledger.identus.walletsdk.domain.models
22

3-
import org.hyperledger.identus.walletsdk.domain.VC
43
import kotlinx.serialization.EncodeDefault
54
import kotlinx.serialization.ExperimentalSerializationApi
65
import kotlinx.serialization.SerialName
@@ -9,6 +8,7 @@ import kotlinx.serialization.json.JsonArray
98
import kotlinx.serialization.json.JsonObject
109
import kotlinx.serialization.json.JsonPrimitive
1110
import kotlinx.serialization.json.jsonPrimitive
11+
import org.hyperledger.identus.walletsdk.domain.VC
1212

1313
/**
1414
* A data class representing a JWT credential payload.

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/Message.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/Message.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package org.hyperledger.identus.walletsdk.domain.models
22

3-
import org.hyperledger.identus.walletsdk.domain.buildingblocks.Mercury
43
import kotlinx.datetime.Clock
54
import kotlinx.serialization.EncodeDefault
65
import kotlinx.serialization.ExperimentalSerializationApi
76
import kotlinx.serialization.Serializable
87
import kotlinx.serialization.encodeToString
98
import kotlinx.serialization.json.Json
9+
import org.hyperledger.identus.walletsdk.domain.buildingblocks.Mercury
1010
import java.util.UUID
1111
import kotlin.jvm.JvmOverloads
1212
import kotlin.time.Duration.Companion.days

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/OctetPublicKey.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/domain/models/OctetPublicKey.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package org.hyperledger.identus.walletsdk.domain.models
22

3-
import org.hyperledger.identus.walletsdk.mercury.OKP
43
import kotlinx.serialization.EncodeDefault
54
import kotlinx.serialization.ExperimentalSerializationApi
65
import kotlinx.serialization.Serializable
6+
import org.hyperledger.identus.walletsdk.mercury.OKP
77

88
/**
99
* Represents an Octet Key Pair (OKP) public key.

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/MercuryImpl.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/MercuryImpl.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
package org.hyperledger.identus.walletsdk.mercury
22

3+
import io.ktor.http.HttpHeaders
4+
import io.ktor.http.HttpMethod
5+
import org.didcommx.didcomm.common.Typ
6+
import org.didcommx.didcomm.utils.isDID
37
import org.hyperledger.identus.walletsdk.domain.buildingblocks.Castor
48
import org.hyperledger.identus.walletsdk.domain.buildingblocks.Mercury
59
import org.hyperledger.identus.walletsdk.domain.models.Api
@@ -15,10 +19,6 @@ import org.hyperledger.identus.walletsdk.logger.PrismLoggerImpl
1519
import org.hyperledger.identus.walletsdk.mercury.forward.ForwardMessage
1620
import org.hyperledger.identus.walletsdk.prismagent.DIDCOMM_MESSAGING
1721
import org.hyperledger.identus.walletsdk.prismagent.shared.KeyValue
18-
import io.ktor.http.HttpHeaders
19-
import io.ktor.http.HttpMethod
20-
import org.didcommx.didcomm.common.Typ
21-
import org.didcommx.didcomm.utils.isDID
2222

2323
/**
2424
* The DIDCommProtocol interface provides methods for packing and unpacking DIDComm messages.

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/forward/ForwardMessage.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/forward/ForwardMessage.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
package org.hyperledger.identus.walletsdk.mercury.forward
22

3-
import org.hyperledger.identus.walletsdk.domain.models.AttachmentDescriptor
4-
import org.hyperledger.identus.walletsdk.domain.models.AttachmentJsonData
5-
import org.hyperledger.identus.walletsdk.domain.models.DID
6-
import org.hyperledger.identus.walletsdk.domain.models.Message
73
import io.ktor.http.ContentType
84
import kotlinx.serialization.EncodeDefault
95
import kotlinx.serialization.ExperimentalSerializationApi
106
import kotlinx.serialization.Serializable
117
import kotlinx.serialization.encodeToString
128
import kotlinx.serialization.json.Json
9+
import org.hyperledger.identus.walletsdk.domain.models.AttachmentDescriptor
10+
import org.hyperledger.identus.walletsdk.domain.models.AttachmentJsonData
11+
import org.hyperledger.identus.walletsdk.domain.models.DID
12+
import org.hyperledger.identus.walletsdk.domain.models.Message
1313
import java.util.UUID
1414

1515
/**

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DIDCommDIDResolver.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DIDCommDIDResolver.kt

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@ package org.hyperledger.identus.walletsdk.mercury.resolvers
33
import io.iohk.atala.prism.didcomm.didpeer.core.fromMulticodec
44
import io.iohk.atala.prism.didcomm.didpeer.core.toJwk
55
import io.iohk.atala.prism.didcomm.didpeer.multibase.MultiBase
6-
import org.hyperledger.identus.walletsdk.domain.buildingblocks.Castor
7-
import org.hyperledger.identus.walletsdk.domain.models.CastorError
8-
import org.hyperledger.identus.walletsdk.domain.models.Curve
9-
import org.hyperledger.identus.walletsdk.domain.models.DIDDocument
10-
import org.hyperledger.identus.walletsdk.domain.models.OctetPublicKey
11-
import org.hyperledger.identus.walletsdk.mercury.CRV
12-
import org.hyperledger.identus.walletsdk.mercury.MULTIBASE_BYTES_SIZE
13-
import org.hyperledger.identus.walletsdk.mercury.X
14-
import org.hyperledger.identus.walletsdk.prismagent.DIDCOMM_MESSAGING
156
import kotlinx.coroutines.runBlocking
167
import kotlinx.serialization.encodeToString
178
import kotlinx.serialization.json.Json
@@ -22,6 +13,15 @@ import org.didcommx.didcomm.diddoc.DIDCommService
2213
import org.didcommx.didcomm.diddoc.DIDDoc
2314
import org.didcommx.didcomm.diddoc.DIDDocResolver
2415
import org.didcommx.didcomm.diddoc.VerificationMethod
16+
import org.hyperledger.identus.walletsdk.domain.buildingblocks.Castor
17+
import org.hyperledger.identus.walletsdk.domain.models.CastorError
18+
import org.hyperledger.identus.walletsdk.domain.models.Curve
19+
import org.hyperledger.identus.walletsdk.domain.models.DIDDocument
20+
import org.hyperledger.identus.walletsdk.domain.models.OctetPublicKey
21+
import org.hyperledger.identus.walletsdk.mercury.CRV
22+
import org.hyperledger.identus.walletsdk.mercury.MULTIBASE_BYTES_SIZE
23+
import org.hyperledger.identus.walletsdk.mercury.X
24+
import org.hyperledger.identus.walletsdk.prismagent.DIDCOMM_MESSAGING
2525
import java.util.Optional
2626

2727
/**

Diff for: atala-prism-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DIDCommSecretsResolver.kt renamed to edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/mercury/resolvers/DIDCommSecretsResolver.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
package org.hyperledger.identus.walletsdk.mercury.resolvers
22

33
import io.iohk.atala.prism.apollo.base64.base64UrlEncoded
4-
import org.hyperledger.identus.walletsdk.domain.buildingblocks.Apollo
5-
import org.hyperledger.identus.walletsdk.domain.buildingblocks.Pluto
6-
import org.hyperledger.identus.walletsdk.domain.models.OctetPrivateKey
7-
import org.hyperledger.identus.walletsdk.mercury.OKP
84
import kotlinx.coroutines.flow.firstOrNull
95
import kotlinx.coroutines.runBlocking
106
import kotlinx.serialization.encodeToString
@@ -14,6 +10,10 @@ import org.didcommx.didcomm.common.VerificationMaterialFormat
1410
import org.didcommx.didcomm.common.VerificationMethodType
1511
import org.didcommx.didcomm.secret.Secret
1612
import org.didcommx.didcomm.secret.SecretResolver
13+
import org.hyperledger.identus.walletsdk.domain.buildingblocks.Apollo
14+
import org.hyperledger.identus.walletsdk.domain.buildingblocks.Pluto
15+
import org.hyperledger.identus.walletsdk.domain.models.OctetPrivateKey
16+
import org.hyperledger.identus.walletsdk.mercury.OKP
1717
import java.util.Optional
1818

1919
/**

0 commit comments

Comments
 (0)