OpenDDS  Snapshot(2023/04/28-20:55)
BuiltInSecurityPluginInst.cpp
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 
9 
12 #include "CryptoBuiltInImpl.h"
13 #include "UtilityImpl.h"
14 
16 
17 namespace OpenDDS {
18 namespace Security {
19 
22 
24 #ifdef OPENDDS_SECURITY
25  : authentication_(new AuthenticationBuiltInImpl)
26  , access_control_(new AccessControlBuiltInImpl)
27  , key_factory_(new CryptoBuiltInImpl)
28  , key_exchange_(CryptoKeyExchange::_narrow(key_factory_))
29  , transform_(CryptoTransform::_narrow(key_factory_))
30  , utility_(DCPS::make_rch<UtilityImpl>())
31 #endif
32 {
33 }
34 
36 {
37 }
38 
39 #ifdef OPENDDS_SECURITY
41 {
42  return authentication_;
43 }
44 
46 {
47  return access_control_;
48 }
49 
51 {
52  return key_factory_;
53 }
54 
56 {
57  return key_exchange_;
58 }
59 
61 {
62  return transform_;
63 }
64 
66 {
67  return utility_;
68 }
69 
70 #endif
71 
73 {
74  // No actions
75 }
76 
77 } // namespace Security
78 } // namespace OpenDDS
79 
virtual DCPS::RcHandle< Utility > create_utility()
virtual CryptoKeyExchange_var create_crypto_key_exchange()
Implements the DDS built-in version of the Access Control plugin for the DDS Security Specification...
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28
Implements the DDS built-in version of the Authentication plugin for the DDS Security Specification...