Re: Dates and certificates

2012-04-10 Thread Michael StJohns
I've come to the conclusion I literally do not know what I was talking about. This has been on my "figure out what's going on" some day list for a while and it went on because of some issue with respect to the handling of this particular date value that caused a program to blow up. I now can'

Re: Dates and certificates

2012-04-10 Thread Xueming Shen
Calendar's month starts with 0, so December is 11, not 12. Yes, people have been complaining this for years, and the JSR310 will have an enum type of month and the integer type will be "1" based. -Sherman On 04/10/2012 08:23 AM, Sean Mullan wrote: On 04/09/2012 02:07 PM, Michael StJohns wrote

Re: Dates and certificates

2012-04-10 Thread Vincent Ryan
Hello Michael, Are you referring to the getNotAfter() and getNotBefore() methods of X509Certificate? The Date class that those methods return already supports dates well past the year . Are you seeking to add support for Calendar for ease-of-use reasons? BTW an early call to c.clear() i

Re: Dates and certificates

2012-04-10 Thread Sean Mullan
On 04/09/2012 02:07 PM, Michael StJohns wrote: Hi - I've been trying to figure out which changes would be necessary to support the "inifinite" date used in RFC5280 for certificates that don't expire (e.g. 1231255959).(e.g. java.security.cert.X509Certificate) I first thought this would b

Dates and certificates

2012-04-09 Thread Michael StJohns
Hi - I've been trying to figure out which changes would be necessary to support the "inifinite" date used in RFC5280 for certificates that don't expire (e.g. 1231255959).(e.g. java.security.cert.X509Certificate) I first thought this would be as easy as supporting the use of Calendar in