Botan  1.10.9
openssl_engine.h
Go to the documentation of this file.
1 /*
2 * OpenSSL Engine
3 * (C) 1999-2007 Jack Lloyd
4 *
5 * Distributed under the terms of the Botan license
6 */
7 
8 #ifndef BOTAN_ENGINE_OPENSSL_H__
9 #define BOTAN_ENGINE_OPENSSL_H__
10 
11 #include <botan/engine.h>
12 
13 namespace Botan {
14 
15 /**
16 * OpenSSL Engine
17 */
18 class OpenSSL_Engine : public Engine
19  {
20  public:
21  /**
22  * Return the provider name ("openssl")
23  */
24  std::string provider_name() const { return "openssl"; }
25 
27  get_key_agreement_op(const Private_Key& key) const;
28 
30  get_signature_op(const Private_Key& key) const;
31 
33 
35 
37 
40 
42  Algorithm_Factory&) const;
43 
45  Algorithm_Factory&) const;
46 
48  };
49 
50 }
51 
52 #endif
PK_Ops::Key_Agreement * get_key_agreement_op(const Private_Key &key) const
Definition: ossl_pk.cpp:274
StreamCipher * find_stream_cipher(const SCAN_Name &, Algorithm_Factory &) const
Definition: ossl_arc4.cpp:77
BlockCipher * find_block_cipher(const SCAN_Name &, Algorithm_Factory &) const
Definition: ossl_bc.cpp:183
PK_Ops::Decryption * get_decryption_op(const Private_Key &key) const
Definition: ossl_pk.cpp:328
PK_Ops::Encryption * get_encryption_op(const Public_Key &key) const
Definition: ossl_pk.cpp:317
HashFunction * find_hash(const SCAN_Name &, Algorithm_Factory &) const
Definition: ossl_md.cpp:106
PK_Ops::Signature * get_signature_op(const Private_Key &key) const
Definition: ossl_pk.cpp:285
Modular_Exponentiator * mod_exp(const BigInt &, Power_Mod::Usage_Hints) const
Definition: bn_powm.cpp:48
std::string provider_name() const
PK_Ops::Verification * get_verify_op(const Public_Key &key) const
Definition: ossl_pk.cpp:301