blob: 7399e05cf36d808793c9b8162f88f3a01345cafc [file] [log] [blame]
Jeff Thompsonfa306642013-06-17 15:06:57 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
2/*
3 * Copyright (c) 2013, Regents of the University of California
4 * Alexander Afanasyev
5 *
6 * BSD license, See the LICENSE file for more information
7 *
8 * Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
9 */
10
11#ifndef NDN_KEYCHAIN_OSX_H
12#define NDN_KEYCHAIN_OSX_H
13
14#include "ndn.cxx/security/keychain.h"
15
16namespace ndn {
17namespace keychain {
18
19class OSX : public Keychain
20{
21public:
22 OSX ();
23
24 virtual
25 ~OSX ();
26
27 virtual void
28 generateKeyPair (const Name &keyName);
29
30 virtual void
31 deleteKeyPair (const Name &keyName);
32
33 virtual void
34 deletePublicKey (const Name &keyName);
35
36 virtual Ptr<Blob>
37 getPublicKey (const Name &publicKeyName);
38
39private:
40 void *m_private;
41};
42
43} // keychain
44} // ndn
45
46#endif // NDN_KEYCHAIN_OSX_H