code: def addcert(self, cert):
          
          if libcrypto.CMS_add1_cert(self.ptr, cert.cert) <= 0:
              raise CMSError("Cannot add cert")
docs: Adds a certificate (probably intermediate CA) to the SignedData
          structure