fail("no recpient found");
fail("no recipient found");
    public void testKeyTransODES()        throws Exception    {        byte[]          data     = "WallaWallaBouncyCastle".getBytes();        CMSEnvelopedDataGenerator edGen = new CMSEnvelopedDataGenerator();        edGen.addKeyTransRecipient(_reciCert);        CMSEnvelopedData ed = edGen.generate(                                new CMSProcessableByteArray(data),                                "1.3.14.3.2.7", "BC");        RecipientInformationStore  recipients = ed.getRecipientInfos();        assertEquals(ed.getEncryptionAlgOID(), "1.3.14.3.2.7");                Collection  c = recipients.getRecipients();        Iterator    it = c.iterator();        if (it.hasNext())        {            RecipientInformation   recipient = (RecipientInformation)it.next();            byte[] recData = recipient.getContent(_reciKP.getPrivate(), "BC");            assertEquals(true, Arrays.equals(data, recData));        }        else        {            fail("no recpient found");        }    }