}
}
- /**
- * build an object given its tag and a byte stream to construct it
- * from.
- */
+ /**
+ * build an object given its tag and a byte stream to construct it
+ * from.
+ */
protected DERObject buildObject(
- int tag,
- byte[] bytes)
- throws IOException
- {
- switch (tag)
+ int tag,
+ byte[] bytes)
+ throws IOException
+ {
+ switch (tag)
{
case NULL:
return null;
return new DERUnknownTag(tag, bytes);
}
- }
+ }
public DERObject readObject()
throws IOException
readFully(bytes);
- return buildObject(tag, bytes);
- }
+ return buildObject(tag, bytes);
+ }
}