decrypt-key.hpp
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
23 #ifndef NDN_DECRYPT_KEY_HPP
24 #define NDN_DECRYPT_KEY_HPP
25 
26 #include "../util/blob.hpp"
27 
32 namespace ndn {
33 
34 class DecryptKey {
35 public:
40  DecryptKey(const Blob& keyBits)
41  : keyBits_(keyBits)
42  {}
43 
48  const Blob&
49  getKeyBits() const { return keyBits_; }
50 
51 private:
52  Blob keyBits_;
53 };
54 
55 }
56 
57 #endif
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:36
Definition: decrypt-key.hpp:34
const Blob & getKeyBits() const
Get the key value.
Definition: decrypt-key.hpp:49
DecryptKey(const Blob &keyBits)
Create a DecryptKey with the given key value.
Definition: decrypt-key.hpp:40
A Blob holds a pointer to an immutable byte array implemented as const std::vector.
Definition: blob.hpp:42