public void addAttributeCertificate(X509AttributeCertificateHolder attrCert) throws CMSException {
  certs.add(new DERTaggedObject(false,2,attrCert.toASN1Structure()));
}

public void addAttributeCertificate ( X509AttributeCertificateHolder attrCert ) throws CMSException { certs . add ( new DERTaggedObject ( false , 2 , attrCert . toASN1Structure ( ) ) ) ; }
add the attribute certificates in attrstore to the certificate set to be included with the generated signeddata message .
