/[resiprocate]/branches/b-identity-0505/MacSecurity.hxx
ViewVC logotype

Contents of /branches/b-identity-0505/MacSecurity.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4598 - (show annotations) (download)
Wed May 11 22:53:07 2005 UTC (14 years, 6 months ago) by derek
File size: 838 byte(s)
set svn:eol-style to LF
1 #if !defined(RESIP_MACSECURITY_HXX)
2 #define RESIP_MACSECURITY_HXX
3
4 #include "resiprocate/Security.hxx"
5
6 namespace resip
7 {
8
9 // Instead of using Mac specific data types
10 // we pass around handles. This keeps us from
11 // having to include Mac OS headers.
12 typedef void * KeychainHandle;
13
14 /*
15 * Manages certificates in the Mac Keychain.
16 */
17 class MacSecurity : public Security
18 {
19 public:
20
21 MacSecurity(){};
22
23 // load root certificates into memory
24 virtual void preload();
25
26 protected:
27
28 // Opens a search handle to certificates store in
29 // the X509Anchors keychain
30 KeychainHandle openSystemCertStore();
31
32 // loads root certificates into memory
33 void getCerts();
34
35 void closeCertifStore(KeychainHandle searchReference);
36 };
37
38 } // namespace resip
39
40 #endif // ndef RESIP_MACSECURITY_HXX

Properties

Name Value
svn:eol-style LF

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27