Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
n0900 committed Oct 9, 2024
1 parent 5ef44d1 commit 6a7010d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import kotlinx.serialization.json.JsonObject
@Serializable
data class Document(
/**
* TODO
* base64-encoded document content to be signed, testcases weird so for now string
*/
@SerialName("document")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package at.asitplus.dif
import at.asitplus.dif.rqes.CSCSignatureRequestParameters
import at.asitplus.dif.rqes.SignDocParameters
import at.asitplus.dif.rqes.SignHashParameters
import at.asitplus.signum.indispensable.X509SignatureAlgorithm
import at.asitplus.signum.indispensable.io.Base64Strict
import io.github.aakira.napier.Napier
import io.kotest.core.spec.style.FreeSpec
Expand Down Expand Up @@ -142,6 +143,7 @@ class AuthenticationRequestParameterFromSerializerTest : FreeSpec({
SignHashParameters(
credentialId = "1234",
hashes = listOf("abcd".decodeToByteArray(Base64Strict)),
signAlgoOid = X509SignatureAlgorithm.ES256.oid
),
SignDocParameters(
credentialId = "1234",
Expand Down

0 comments on commit 6a7010d

Please sign in to comment.