public CipherTextIvMac(byte[] c,byte[] i,byte[] h){
  cipherText=new byte[c.length];
  System.arraycopy(c,0,cipherText,0,c.length);
  iv=new byte[i.length];
  System.arraycopy(i,0,iv,0,i.length);
  mac=new byte[h.length];
  System.arraycopy(h,0,mac,0,h.length);
}

public CipherTextIvMac ( byte [ ] c , byte [ ] i , byte [ ] h ) { cipherText = new byte [ c . length ] ; System . arraycopy ( c , 0 , cipherText , 0 , c . length ) ; iv = new byte [ i . length ] ; System . arraycopy ( i , 0 , iv , 0 , i . length ) ; mac = new byte [ h . length ] ; System . arraycopy ( h , 0 , mac , 0 , h . length ) ; }
construct a new bundle of ciphertext and iv .
