Skip to content

Commit

Permalink
fix: linked service layer to local KMS module
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmathew committed Aug 23, 2024
1 parent ba581e3 commit 0948b7a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
1 change: 1 addition & 0 deletions modules/local-kms/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ repositories {

dependencies {
testImplementation(kotlin("test"))
implementation(projects.modules.services)
}

tasks.test {
Expand Down
19 changes: 19 additions & 0 deletions modules/local-kms/src/main/kotlin/LocalKmsClient.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package com.sphereon.oid.fed.kms.local

import com.sphereon.oid.fed.persistence.models.Jwk
import com.sphereon.oid.fed.services.KmsClient

class LocalKmsClient : KmsClient {

override fun generateKeyPair(keyId: String): Jwk {
TODO("Not yet implemented")
}

override fun sign(data: String, keyId: String): String {
TODO("Not yet implemented")
}

override fun verify(token: String, keyId: String): Boolean {
TODO("Not yet implemented")
}
}
5 changes: 0 additions & 5 deletions modules/local-kms/src/main/kotlin/Main.kt

This file was deleted.

0 comments on commit 0948b7a

Please sign in to comment.