public virtual string GetEffectiveDateString ()
{
if (hideDates)
return null;
#if NET_2_0
if (x509 == null)
throw new CryptographicException (Locale.GetText ("Certificate instance is empty."));
return x509.ValidFrom.ToLocalTime ().ToString ();
#else
// LAMESPEC: Microsoft returns the local time from Pacific Time (GMT-8)
// BUG: This will not be corrected in Framework 1.1 and also affect WSE 1.0
return x509.ValidFrom.ToUniversalTime ().AddHours (-8).ToString ();
#endif
}