static MyIOSet () { TypeIdentifier ti1 = new TypeIdentifier(aux_oid1, new ASN1Boolean_type()); TypeIdentifier ti2 = new TypeIdentifier(aux_oid2, ASN1Null.asn1type); ioset = new ASN1InformationObjectSet(); ioset.Add(ti1); ioset.Add(ti2); }
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..."); }