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:
parent
9d080663fa
commit
35ec9857e5
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue