示例#1
0
 public void encodeASN(BerOutputStream out) {
   // FIXME need another way for specifying identifier to be encoded
   if (taggingType == TAGGING_CONSTRUCTED) {
     out.encodeTag(constrId);
   } else {
     out.encodeTag(id);
   }
   encodeContent(out);
 }
 public void setEncodingContent(BerOutputStream out) {
   out.length = ((byte[]) out.content).length;
 }
 public void encodeContent(BerOutputStream out) {
   out.encodeInteger();
 }
 public final void setEncodingContent(BerOutputStream out) {
   out.getChoiceLength(this);
 }
 public final void encodeContent(BerOutputStream out) {
   out.encodeChoice(this);
 }