mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
S/MIME Skip checking sign time
The certificate chain will be checked separately
This commit is contained in:
@@ -93,7 +93,13 @@ public class EntityCertificate {
|
||||
}
|
||||
|
||||
boolean isExpired() {
|
||||
long now = new Date().getTime();
|
||||
return isExpired(null);
|
||||
}
|
||||
|
||||
boolean isExpired(Date date) {
|
||||
if (date == null)
|
||||
date = new Date();
|
||||
long now = date.getTime();
|
||||
return ((this.after != null && now <= this.after) || (this.before != null && now > this.before));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user