AttributeTable attr = this.getSignedAttributes();  if (attr != null) { Attribute t = attr.get(CMSAttributes.signingTime);  if (t != null) { Time   time = Time.getInstance( t.getAttrValues().getObjectAt(0).getDERObject());  cert.checkValidity(time.getDate()); } }  return doVerify(cert.getPublicKey(), attr, sigProvider);
return doVerify(key, this.getSignedAttributes(), sigProvider);
    public boolean verify(        X509Certificate cert,        String          sigProvider)        throws NoSuchAlgorithmException, NoSuchProviderException,            CertificateExpiredException, CertificateNotYetValidException,            CMSException    {        AttributeTable attr = this.getSignedAttributes();        if (attr != null)        {            Attribute t = attr.get(CMSAttributes.signingTime);            if (t != null)            {                Time   time = Time.getInstance(                                    t.getAttrValues().getObjectAt(0).getDERObject());                cert.checkValidity(time.getDate());            }        }        return doVerify(cert.getPublicKey(), attr, sigProvider);     }