mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-21 15:22:56 +00:00
Get S/MIME sign algorithm
This commit is contained in:
parent
9d9e51a270
commit
99c07f6b60
1 changed files with 2 additions and 2 deletions
|
@ -10149,7 +10149,7 @@ public class FragmentMessages extends FragmentBase
|
|||
String keyalgo = null;
|
||||
String keyalgooid = null;
|
||||
try {
|
||||
keyalgooid = s.getEncryptionAlgOID();
|
||||
keyalgooid = s.getDigestAlgOID();
|
||||
DefaultAlgorithmNameFinder af = new DefaultAlgorithmNameFinder();
|
||||
keyalgo = af.getAlgorithmName(new ASN1ObjectIdentifier(keyalgooid));
|
||||
} catch (Throwable ex) {
|
||||
|
@ -10170,7 +10170,7 @@ public class FragmentMessages extends FragmentBase
|
|||
String algo = null;
|
||||
String algooid = null;
|
||||
try {
|
||||
algooid = s.getEncryptionAlgOID();
|
||||
algooid = s.getDigestAlgOID();
|
||||
DefaultAlgorithmNameFinder af = new DefaultAlgorithmNameFinder();
|
||||
algo = af.getAlgorithmName(new ASN1ObjectIdentifier(algooid));
|
||||
} catch (Throwable ex) {
|
||||
|
|
Loading…
Reference in a new issue