示例#1
0
/*
* Get a PK_Decryptor object
*/
PK_Decryptor* get_pk_decryptor(const PK_Decrypting_Key& key,
                               const std::string& eme)
   {
   return new PK_Decryptor_MR_with_EME(key, get_eme(eme));
   }
示例#2
0
文件: pk_ops.cpp 项目: AlexNk/botan
PK_Ops::Decryption_with_EME::Decryption_with_EME(const std::string& eme)
   {
   m_eme.reset(get_eme(eme));
   if(!m_eme.get())
      throw Algorithm_Not_Found(eme);
   }