コード例 #1
0
ファイル: ASN1BER.cs プロジェクト: josecohenca/xmlconvertsql
		public void Write(BEREncoding ber) 
		{
			this.Write(ber.GetBERCode());
		}
コード例 #2
0
ファイル: ASN1BER.cs プロジェクト: josecohenca/xmlconvertsql
		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();
		}
コード例 #3
0
		private BEREncoding finishEncoding(BEREncoding under_code) 
		{
			Byte[] tmpContents = under_code.GetBERCode();

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