public void Test_TYPE_IDENTIFIER () { Console.WriteLine("Ustvari i nemam neku inspiraciju oko toga sto bi mogao\n"+ "testirati samo sa TYPE-IDENTIFIER konstruktima\n"); // TYPE IDENTIFIER sa OBJECT IDENTIFIEROM i NULL memberom... TypeIdentifier ti = new TypeIdentifier(); ti.Assign(SimpleSamples.funnyOID, new ASN1Null_type()); TypeIdentifier ti1 = new TypeIdentifier(SimpleSamples.funnyOID, new ASN1ObjectIdentifier_type()); }
public void Test_INFORMATION_OBJECT_SET () { ASN1InformationObjectSet iob_set1 = new ASN1InformationObjectSet(); TypeIdentifier ti = new TypeIdentifier(); ti.Assign(SimpleSamples.funnyOID, new ASN1Null_type()); iob_set1.Add(ti); UniqueObject uniqo = new UniqueObject(); //uniqo. }
public void Test_INFORMATION_OBJECT_SET () { ASN1InformationObjectSet iob_set1 = new ASN1InformationObjectSet(); TypeIdentifier ti1 = new TypeIdentifier(); ti1.Assign(SimpleSamples.funnyOID, ASN1Null.asn1type); TypeIdentifier ti2 = new TypeIdentifier(); ti2.Assign(new ASN1ObjectIdentifier(1, 2, 3), new ASN1Boolean_type()); iob_set1.Add(ti1); ASN1ObjectIdentifier unique = new ASN1ObjectIdentifier(); unique.Assign(1, 2, 3, 4); Console.WriteLine("To be cont..."); }