* @throws IOException
* @tests 'org.apache.harmony.security.x509.tsp.TimeStampReq.getEncoded()'
*/
public void testTimeStampReq() throws IOException {
// SHA1 OID
MessageImprint msgImprint = new MessageImprint(new AlgorithmIdentifier(
"1.3.14.3.2.26"), new byte[20]);
String reqPolicy = "1.2.3.4.5";
BigInteger nonce = BigInteger.valueOf(1234567890L);
Extensions exts = new Extensions();
int[] extOID = new int[] { 1, 2, 3, 2, 1 };