mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +00:00
Added remark
This commit is contained in:
parent
f35f041633
commit
01ee00fceb
1 changed files with 1 additions and 0 deletions
|
@ -10187,6 +10187,7 @@ public class FragmentMessages extends FragmentBase
|
|||
// https://datatracker.ietf.org/doc/html/rfc3850#section-4.4.2
|
||||
|
||||
for (X509Certificate c : certs) {
|
||||
// https://datatracker.ietf.org/doc/html/rfc3280#section-4.2.1.3
|
||||
boolean[] usage = c.getKeyUsage();
|
||||
boolean keyCertSign = (usage != null && usage.length > 5 && usage[5]);
|
||||
boolean selfSigned = c.getIssuerX500Principal().equals(c.getSubjectX500Principal());
|
||||
|
|
Loading…
Reference in a new issue