[Mono-bugs] [Bug 76407][Nor] New - Method WasCurrent in X509Certificate class

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Oct 11 09:05:51 EDT 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dgranath at gmail.com.


--- shadow/76407	2005-10-11 09:05:51.000000000 -0400
+++ shadow/76407.tmp.25112	2005-10-11 09:05:51.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 76407
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Mono.Security
+AssignedTo: sebastien at ximian.com                            
+ReportedBy: dgranath at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Method WasCurrent in X509Certificate class
+The comparison made in method WasCurrent() are made with ValidFrom and
+ValidUntil properties, which are in local time, but the comparator
+'instant' is in UTC in the case in which it is called from the IsCurrent
+IsCurrent should perhaps be like this:
+		public bool IsCurrent {
+			get { return WasCurrent (DateTime.Now); }
+		}
+Since ValidFrom and ValidUntil should continue to use local time?

More information about the mono-bugs mailing list