public void addCertificate(X509CertificateHolder certificate) throws CMSException {
  certs.add(certificate.toASN1Structure());
}

public void addCertificate ( X509CertificateHolder certificate ) throws CMSException { certs . add ( certificate . toASN1Structure ( ) ) ; }
add a certificate to the certificate set to be included with the generated signeddata message .
