Example #1
0
 def _get_private_key_from_config_file(self):
     if self.iek_enc_algo == "RSA-2048":
         return key_config_parser.get_buffer(self.key_config_file,
                                             "rsa device private", "path")
     else:
         return key_config_parser.get_buffer(self.key_config_file,
                                             "aes device", "path")
 def _get_private_key_from_config_file(self):
     if self.iek_enc_algo=="RSA-2048":
         return key_config_parser.get_buffer(self.key_config_file, "rsa device private", "path")
     else:
         return key_config_parser.get_buffer(self.key_config_file,  "aes device", "path")