Skip to content

Commit ec38d8c

Browse files
committed
MOPPAND-1661 Resolve unknown recipient type upon open Crypto container and improve Crypto logging.
1 parent c4f9ae7 commit ec38d8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crypto-lib/src/main/kotlin/ee/ria/DigiDoc/cryptolib/Addressee.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ class Addressee(
9393

9494
val certType =
9595
when (type) {
96+
"cert" -> CertType.IDCardType
9697
"ID-card" -> CertType.IDCardType
9798
"Digi-ID" -> CertType.DigiIDType
9899
"Digi-ID E-RESIDENT" -> CertType.EResidentType

crypto-lib/src/main/kotlin/ee/ria/DigiDoc/cryptolib/CryptoContainer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ class CryptoContainer
523523
line: Int,
524524
message: String?,
525525
) {
526-
System.out.format("%s:%s %s %s\n", file, line, level, message)
526+
debugLog("CryptoContainer", String.format("%s:%s %s %s\n", file, line, level, message))
527527
}
528528
}
529529

0 commit comments

Comments
 (0)