Home | History | Annotate | Download | only in asn1

Lines Matching defs:of

6  * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
81 assertEquals("0201ff", encodeToHex(Choice.of(-1)));
82 assertEquals("80092b0601040182371514", encodeToHex(Choice.of("1.3.6.1.4.1.311.21.20")));
99 assertEquals("3009310702010a020200ff", encodeToHex(SetOfIntegers.of(0x0a, 0xff)));
100 // Reordering the elements of the set should not make a difference to the resulting encoding
101 assertEquals("3009310702010a020200ff", encodeToHex(SetOfIntegers.of(0xff, 0x0a)));
105 encodeToHex(SetOfIntegers.of(0xff, 0x0a, 0x112233)));
197 public static Choice of(int num) {
201 public static Choice of(String oid) {
211 public static SetOfIntegers of(Integer... values) {