Exemple #1
0
 def __get_pin(self):
     try:
         return certmonger.get_pin('internal')
     except IOError as e:
         self.log.debug(
             'Unable to determine PIN for the Dogtag instance: %s', e)
         raise RuntimeError(e)
Exemple #2
0
 def __get_pin(self, token_name=INTERNAL_TOKEN):
     try:
         return certmonger.get_pin(token_name)
     except IOError as e:
         logger.debug('Unable to determine PIN for the Dogtag instance: %s',
                      e)
         raise RuntimeError(e)
 def __get_pin(self):
     try:
         return certmonger.get_pin('internal')
     except IOError as e:
         logger.debug(
             'Unable to determine PIN for the Dogtag instance: %s', e)
         raise RuntimeError(e)
Exemple #4
0
 def __get_pin(self, token_name="internal"):
     try:
         return certmonger.get_pin(token_name)
     except IOError as e:
         logger.debug(
             'Unable to determine PIN for the Dogtag instance: %s', e)
         raise RuntimeError(e)