Exemplo n.º 1
0
		public void Write(BEREncoding ber) 
		{
			this.Write(ber.GetBERCode());
		}
Exemplo n.º 2
0
		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();
		}
Exemplo n.º 3
0
		private BEREncoding finishEncoding(BEREncoding under_code) 
		{
			Byte[] tmpContents = under_code.GetBERCode();

			return new BERConstructedEncoding(this.Tag, tmpContents, this.class_number);			
		}