code: def getHostCaPath(self, name):
          '''
          Gets the path to the CA certificate that issued a given host keypair.
  
          Args:
              name (str): The name of the host keypair.
  
          Examples:
              Get the path to the CA cert which issue the cert for "myhost":
  
                  mypath = cdir.getHostCaPath('myhost')
  
          Returns:
              str: The path if exists.
          '''
          cert = self.getHostCert(name)
          if cert is None:
              return None
  
          return self._getCaPath(certf getHostCaPath(self, name):
          '''
          Gets the path to the CA certificate that issued a given host keypair.
  
          Args:
              name (str): The name of the host keypair.
  
          Examples:
              Get the path to the CA cert which issue the cert for "myhost":
  
                  mypath = cdir.getHostCaPath('myhost')
  
          Returns:
              str: The path if exists.
          '''
          cert = self.getHostCert(name)
          if cert is None:
              return None
  
          return self._getCaPath(cert)
docs: Gets the path to the CA certificate that issued a given host keypair.
  
          Args:
              name (str): The name of the host keypair.
  
          Examples:
              Get the path to the CA cert which issue the cert for "myhost":
  
                  mypath = cdir.getHostCaPath('myhost')
  
          Returns:
              str: The path if exists.