commit c90a6e18da30d26f68fa44b6f214191fea5eb144
parent 3967193487e42335b43b80ee7407fa44ad39cf70
Author: ms <ms@taler.net>
Date: Tue, 31 Aug 2021 14:47:32 +0200
remove newlines
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -829,11 +829,8 @@ private suspend fun ApplicationCall.handleEbicsHpb(
}
this.hostID = ebicsHostInfo.hostID
}
-
val compressedOrderData = EbicsOrderUtil.encodeOrderDataXml(hpbRespondeData)
-
val encryptionResult = CryptoUtil.encryptEbicsE002(compressedOrderData, subscriberKeys.encryptionPublicKey)
-
respondEbicsKeyManagement("[EBICS_OK]", "000000", "000000", encryptionResult, "OR01")
}
@@ -975,7 +972,6 @@ private fun handleEbicsHkd(requestContext: RequestContext): ByteArray {
)
})
}
-
val str = XMLUtil.convertJaxbToString(hkd)
return str.toByteArray()
}
@@ -1022,9 +1018,7 @@ private fun handleEbicsDownloadTransactionInitialization(requestContext: Request
"PTK" -> handleEbicsPTK()
else -> throw EbicsInvalidXmlError()
}
-
val transactionID = EbicsOrderUtil.generateTransactionId()
-
val compressedResponse = DeflaterInputStream(response.inputStream()).use {
it.readAllBytes()
}