code: public void encode(AsnOutputStream aos) throws EncodeException {
  
          try {
              aos.writeTag(Tag.CLASS_CONTEXT_SPECIFIC, false, _TAG);
              int pos = aos.StartContentDefiniteLength();
  
              ext.encode(aos);
  
              aos.FinalizeContent(pos);
  
          } catch (AsnException e) {
              throw new EncodeException("AsnException when encoding UserInformation: " + e.getMessage(), e);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see org.mobicents.protocols.asn.External#encode(org.mobicents.protocols.asn.AsnOutputStream)