Show encryption algorithm for public key

This commit is contained in:
M66B
2024-12-21 11:15:13 +01:00
parent 9d080663fa
commit 35ec9857e5

View File

@@ -10149,7 +10149,7 @@ public class FragmentMessages extends FragmentBase
String keyalgo = null;
String keyalgooid = null;
try {
keyalgooid = s.getDigestAlgOID();
keyalgooid = s.getEncryptionAlgOID();
DefaultAlgorithmNameFinder af = new DefaultAlgorithmNameFinder();
keyalgo = af.getAlgorithmName(new ASN1ObjectIdentifier(keyalgooid));
} catch (Throwable ex) {