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

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

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

revision 1.1.2.3 by gnu_andrew, Tue Aug 2 20:12:13 2005 UTC revision 1.1.2.4 by gnu_andrew, Tue Sep 20 18:46:24 2005 UTC
# Line 232  public class Extension Line 232  public class Extension
232    {    {
233      List ext = new ArrayList (3);      List ext = new ArrayList (3);
234      ext.add (new DERValue (DER.OBJECT_IDENTIFIER, oid));      ext.add (new DERValue (DER.OBJECT_IDENTIFIER, oid));
235      ext.add (new DERValue (DER.BOOLEAN, new Boolean (critical)));      ext.add (new DERValue (DER.BOOLEAN, Boolean.valueOf (critical)));
236      ext.add (new DERValue (DER.OCTET_STRING, value.getEncoded()));      ext.add (new DERValue (DER.OCTET_STRING, value.getEncoded()));
237      return new DERValue (DER.CONSTRUCTED|DER.SEQUENCE, ext);      return new DERValue (DER.CONSTRUCTED|DER.SEQUENCE, ext);
238    }    }

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

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