Botan 1.10.17
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
13namespace Botan {
14
15/**
16* OpenSSL Engine
17*/
18class 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
HashFunction * find_hash(const SCAN_Name &, Algorithm_Factory &) const
Definition ossl_md.cpp:110
Modular_Exponentiator * mod_exp(const BigInt &, Power_Mod::Usage_Hints) const
Definition bn_powm.cpp:48
PK_Ops::Verification * get_verify_op(const Public_Key &key) const
Definition ossl_pk.cpp:307
PK_Ops::Key_Agreement * get_key_agreement_op(const Private_Key &key) const
Definition ossl_pk.cpp:280
PK_Ops::Signature * get_signature_op(const Private_Key &key) const
Definition ossl_pk.cpp:291
PK_Ops::Decryption * get_decryption_op(const Private_Key &key) const
Definition ossl_pk.cpp:334
PK_Ops::Encryption * get_encryption_op(const Public_Key &key) const
Definition ossl_pk.cpp:323
StreamCipher * find_stream_cipher(const SCAN_Name &, Algorithm_Factory &) const
Definition ossl_arc4.cpp:82
std::string provider_name() const
BlockCipher * find_block_cipher(const SCAN_Name &, Algorithm_Factory &) const
Definition ossl_bc.cpp:187