OpenDDS  Snapshot(2023/04/28-20:55)
BuiltInSecurityPluginInst.h
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #ifndef OPENDDS_DCPS_SECURITY_BUILTINSECURITYPLUGININST_H
9 #define OPENDDS_DCPS_SECURITY_BUILTINSECURITYPLUGININST_H
10 
13 
15 
16 namespace OpenDDS {
17 namespace Security {
18 
19 /**
20  * @class BuiltInSecurityPluginInst
21  *
22  * @brief Factory object to create interfaces for the BuiltIn plugin.
23  */
25 public:
26 
29 
30 #ifdef OPENDDS_SECURITY
31  virtual Authentication_var create_authentication();
32  virtual AccessControl_var create_access_control();
33  virtual CryptoKeyFactory_var create_crypto_key_factory();
34  virtual CryptoKeyExchange_var create_crypto_key_exchange();
35  virtual CryptoTransform_var create_crypto_transform();
36  virtual DCPS::RcHandle<Utility> create_utility();
37 #endif
38 
39  virtual void shutdown();
40 
41 private:
42 #ifdef OPENDDS_SECURITY
43  Authentication_var authentication_;
44  AccessControl_var access_control_;
45  CryptoKeyFactory_var key_factory_;
46  CryptoKeyExchange_var key_exchange_;
47  CryptoTransform_var transform_;
49 #endif
50 
53 };
54 
55 
56 } // namespace DCPS
57 } // namespace OpenDDS
58 
60 
61 #endif
Factory object to create interfaces for the BuiltIn plugin.
Base class for concrete security plugins to provide new objects.
#define OpenDDS_Security_Export
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
int shutdown(ACE_HANDLE handle, int how)
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28