1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-21 23:32:51 +00:00

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 keyalgo = null;
String keyalgooid = null; String keyalgooid = null;
try { try {
keyalgooid = s.getDigestAlgOID(); keyalgooid = s.getEncryptionAlgOID();
DefaultAlgorithmNameFinder af = new DefaultAlgorithmNameFinder(); DefaultAlgorithmNameFinder af = new DefaultAlgorithmNameFinder();
keyalgo = af.getAlgorithmName(new ASN1ObjectIdentifier(keyalgooid)); keyalgo = af.getAlgorithmName(new ASN1ObjectIdentifier(keyalgooid));
} catch (Throwable ex) { } catch (Throwable ex) {