/[classpath]/classpath/gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
ViewVC logotype

Diff of /classpath/gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.2 by gnu_andrew, Sun Mar 13 14:38:33 2005 UTC revision 1.1.2.3 by gnu_andrew, Thu Apr 28 23:00:12 2005 UTC
# Line 71  public class PrivateKeyUsagePeriod exten Line 71  public class PrivateKeyUsagePeriod exten
71        val = der.read();        val = der.read();
72      if (val.getTagClass() == DER.APPLICATION || val.getTag() == 0)      if (val.getTagClass() == DER.APPLICATION || val.getTag() == 0)
73        {        {
74          notBefore = (Date) val.getValue();          notBefore = (Date) val.getValueAs (DER.GENERALIZED_TIME);
75          val = der.read();          val = der.read();
76        }        }
77      else      else
78        notBefore = null;        notBefore = null;
79      if (val.getTagClass() == DER.APPLICATION || val.getTag() == 1)      if (val.getTagClass() == DER.APPLICATION || val.getTag() == 1)
80        {        {
81          notAfter = (Date) val.getValue();          notAfter = (Date) val.getValueAs (DER.GENERALIZED_TIME);
82        }        }
83      else      else
84        notAfter = null;        notAfter = null;

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26