Iterator it = _crls.iterator(); while (it.hasNext()) { v.add((DEREncodable)it.next()); }  _sigGen.getRawOutputStream().write(new DERTaggedObject(false, 1, new DERSet(v)).getEncoded());
_sigGen.getRawOutputStream().write(new DERTaggedObject(false, 1, crls).getEncoded());
        public void close()            throws IOException        {            _out.close();            _eiGen.close();                        if (_certs.size() != 0)            {                ASN1EncodableVector  v = new ASN1EncodableVector();                Iterator it = _certs.iterator();                while (it.hasNext())                {                    v.add((DEREncodable)it.next());                }                _sigGen.getRawOutputStream().write(new DERTaggedObject(false, 0, new DERSet(v)).getEncoded());            }            if (_crls.size() != 0)            {                ASN1EncodableVector  v = new ASN1EncodableVector();                Iterator it = _crls.iterator();                while (it.hasNext())                {                    v.add((DEREncodable)it.next());                }                _sigGen.getRawOutputStream().write(new DERTaggedObject(false, 1, new DERSet(v)).getEncoded());            }                        //            // add the precalculated SignerInfo objects.            //            ASN1EncodableVector signerInfos = new ASN1EncodableVector();            Iterator            it = _signers.iterator();                        while (it.hasNext())            {                SignerInformation        signer = (SignerInformation)it.next();                signerInfos.add(signer.toSignerInfo());            }                        //            // add the SignerInfo objects            //            it = _signerInfs.iterator();            while (it.hasNext())            {                SignerInf               signer = (SignerInf)it.next();                try                {                    signerInfos.add(signer.toSignerInfo(_contentOID));                }                catch (IOException e)                {                    throw new IOException("encoding error." + e);                }                catch (SignatureException e)                {                    throw new IOException("error creating signature." + e);                }                catch (CertificateEncodingException e)                {                    throw new IOException("error creating sid." + e);                }            }                        _sigGen.getRawOutputStream().write(new DERSet(signerInfos).getEncoded());            _sigGen.close();            _sGen.close();        }