@Test(groups = "asn1", dataProvider = "ints") public void decode(final byte[] bytes, final BigInteger expected, final BigInteger unsigned, final int unsignedPrim) throws Exception { Assert.assertEquals(IntegerType.decode(new DefaultDERBuffer(bytes)), expected); }
public static BigInteger decode(final DERBuffer encoded) { return new BigInteger(encoded.getRemainingBytes()); }
IntegerType extends AbstractDERType implements DEREncoder { public static BigInteger decode(final DERBuffer encoded) { return new BigInteger(encoded.getRemainingBytes()); } }
IntegerType extends AbstractDERType implements DEREncoder { public static BigInteger decode(final DERBuffer encoded) { return new BigInteger(encoded.getRemainingBytes()); } IntegerType(final BigInteger item);  IntegerType(final int item);  IntegerType(final DERTag tag, final BigInteger item);  IntegerType(final DERTag tag, final int item); }
IntegerType extends AbstractDERType implements DEREncoder { public static BigInteger decode(final DERBuffer encoded) { return new BigInteger(encoded.getRemainingBytes()); } IntegerType(final BigInteger item);  IntegerType(final int item);  IntegerType(final DERTag tag, final BigInteger item);  IntegerType(final DERTag tag, final int item); @Override byte[] encode(); static BigInteger decode(final DERBuffer encoded); static BigInteger decodeUnsigned(final DERBuffer encoded); static int decodeUnsignedPrimitive(final DERBuffer encoded); static byte[] toBytes(final BigInteger i); }
IntegerType extends AbstractDERType implements DEREncoder { public static BigInteger decode(final DERBuffer encoded) { return new BigInteger(encoded.getRemainingBytes()); } IntegerType(final BigInteger item);  IntegerType(final int item);  IntegerType(final DERTag tag, final BigInteger item);  IntegerType(final DERTag tag, final int item); @Override byte[] encode(); static BigInteger decode(final DERBuffer encoded); static BigInteger decodeUnsigned(final DERBuffer encoded); static int decodeUnsignedPrimitive(final DERBuffer encoded); static byte[] toBytes(final BigInteger i);  }