public void Write(BEREncoding ber) { this.Write(ber.GetBERCode()); }
public static void DumpHEX(BEREncoding ber) { Console.Write("HEX: "); byte[] code = ber.GetBERCode(); foreach (byte b in code) { if(b<16) { Console.Write("0"); } Console.Write(b.ToString("X")+":"); } Console.WriteLine(); }
private BEREncoding finishEncoding(BEREncoding under_code) { Byte[] tmpContents = under_code.GetBERCode(); return new BERConstructedEncoding(this.Tag, tmpContents, this.class_number); }