RCFProto
 All Classes Functions Typedefs
Certificate.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2013, Delta V Software. All rights reserved.
6 // http://www.deltavsoft.com
7 //
8 // RCF is distributed under dual licenses - closed source or GPL.
9 // Consult your particular license for conditions of use.
10 //
11 // If you have not purchased a commercial license, you are using RCF
12 // under GPL terms.
13 //
14 // Version: 2.0
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18 
19 #ifndef INCLUDE_RCF_CERTIFICATE_HPP
20 #define INCLUDE_RCF_CERTIFICATE_HPP
21 
22 #include <RCF/Enums.hpp>
23 #include <RCF/Export.hpp>
24 
25 #include <boost/shared_ptr.hpp>
26 
27 namespace RCF {
28 
29  class Certificate;
30  typedef boost::shared_ptr<Certificate> CertificatePtr;
31 
32  class Win32Certificate;
33  typedef boost::shared_ptr<Win32Certificate> Win32CertificatePtr;
34 
35  class X509Certificate;
36  typedef boost::shared_ptr<X509Certificate> X509CertificatePtr;
37 
39  class RCF_EXPORT Certificate
40  {
41  public:
42 
43  // *** SWIG BEGIN ***
44 
45  virtual CertificateImplementationType _getType();
46 
47  Win32CertificatePtr _downcastToWin32Certificate(CertificatePtr certPtr);
48  X509CertificatePtr _downcastToX509Certificate(CertificatePtr certPtr);
49 
50  // *** SWIG END ***
51 
52  virtual ~Certificate()
53  {
54  }
55  };
56 
57 } // namespace RCF
58 
59 #endif // ! INCLUDE_RCF_CERTIFICATE_HPP