Util: Fix text display of enc type in key cert

This commit is contained in:
zzz
2021-03-07 08:33:57 -05:00
parent e4c7ef183f
commit 0b71fcf2e6

View File

@@ -259,7 +259,7 @@ public class KeyCertificate extends Certificate {
buf.append(" null payload");
} else {
buf.append("\n\tCrypto type: ").append(getCryptoTypeCode())
.append(" (").append(getSigType()).append(')');
.append(" (").append(getEncType()).append(')');
buf.append("\n\tSig type: ").append(getSigTypeCode())
.append(" (").append(getSigType()).append(')');
if (_payload.length > HEADER_LENGTH)