public void Test_SimpleASN1Types()
		{
			Console.WriteLine("ASN1Null test:");


			ASN1Null nl = new ASN1Null();
			BERWriter.DumpHEX(nl);

			BEREncoding ber = nl.asBER();
			BERWriter.DumpHEX(ber);

			ASN1Type nl_t = ASN1Null.asn1type;
			ASN1Null nl1 = nl_t.CreateInstance(ber) as ASN1Null;

			BERWriter.DumpHEX(nl1);
		}
Esempio n. 2
0
		public void Test_SimpleASN1Types()
		{
			//Console.WriteLine(SimpleSamples.funnyOID.ToString());

			Console.WriteLine("ASN1Null test:");


			ASN1Null nl = new ASN1Null();
			BERWriter.DumpHEX(nl);

			BEREncoding ber = nl.asBER();
			BERWriter.DumpHEX(ber);

			ASN1Null_type nl_t = new ASN1Null_type();
			ASN1Null nl1 = nl_t.CreateInstance(ber) as ASN1Null;

			BERWriter.DumpHEX(nl1);


		}