System.arraycopy(bi, 0, tmp, tmp.length - bi.length, bi.length);
c1.processBytes(tmp, 0, tmp.length);
}
}
return c1.doFinal();
}
catch (InvalidCipherTextException e)
{
throw new PGPException("exception encrypting session info: " + e.getMessage(), e);
}