security+util: mark all pimpl unique_ptrs const
Change-Id: I3966c4988dceb49c204e23967ba90729877bddf1
diff --git a/src/security/transform/base64-decode.hpp b/src/security/transform/base64-decode.hpp
index 0ef0a46..ea69b8d 100644
--- a/src/security/transform/base64-decode.hpp
+++ b/src/security/transform/base64-decode.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -76,7 +76,7 @@
private:
class Impl;
- unique_ptr<Impl> m_impl;
+ const unique_ptr<Impl> m_impl;
};
unique_ptr<Transform>
diff --git a/src/security/transform/base64-encode.hpp b/src/security/transform/base64-encode.hpp
index 7e9d99d..d62b5d8 100644
--- a/src/security/transform/base64-encode.hpp
+++ b/src/security/transform/base64-encode.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -78,7 +78,7 @@
private:
class Impl;
- unique_ptr<Impl> m_impl;
+ const unique_ptr<Impl> m_impl;
};
unique_ptr<Transform>
diff --git a/src/security/transform/block-cipher.hpp b/src/security/transform/block-cipher.hpp
index 885bd43..320e184 100644
--- a/src/security/transform/block-cipher.hpp
+++ b/src/security/transform/block-cipher.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -86,7 +86,6 @@
isConverterEmpty() const;
private:
-
void
initializeAesCbc(const uint8_t* key, size_t keyLen,
const uint8_t* iv, size_t ivLen,
@@ -94,7 +93,7 @@
private:
class Impl;
- unique_ptr<Impl> m_impl;
+ const unique_ptr<Impl> m_impl;
};
unique_ptr<Transform>
diff --git a/src/security/transform/digest-filter.hpp b/src/security/transform/digest-filter.hpp
index 952c4a7..0ccc81b 100644
--- a/src/security/transform/digest-filter.hpp
+++ b/src/security/transform/digest-filter.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -58,7 +58,7 @@
private:
class Impl;
- unique_ptr<Impl> m_impl;
+ const unique_ptr<Impl> m_impl;
};
unique_ptr<Transform>
diff --git a/src/security/transform/hmac-filter.hpp b/src/security/transform/hmac-filter.hpp
index 0cec1fd..002fda8 100644
--- a/src/security/transform/hmac-filter.hpp
+++ b/src/security/transform/hmac-filter.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -59,7 +59,7 @@
private:
class Impl;
- unique_ptr<Impl> m_impl;
+ const unique_ptr<Impl> m_impl;
};
unique_ptr<Transform>
diff --git a/src/security/transform/private-key.hpp b/src/security/transform/private-key.hpp
index eae0787..3eb1d7a 100644
--- a/src/security/transform/private-key.hpp
+++ b/src/security/transform/private-key.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -243,7 +243,7 @@
private:
class Impl;
- unique_ptr<Impl> m_impl;
+ const unique_ptr<Impl> m_impl;
};
/**
diff --git a/src/security/transform/public-key.hpp b/src/security/transform/public-key.hpp
index 169b9e0..db08cad 100644
--- a/src/security/transform/public-key.hpp
+++ b/src/security/transform/public-key.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -127,7 +127,7 @@
private:
class Impl;
- unique_ptr<Impl> m_impl;
+ const unique_ptr<Impl> m_impl;
};
} // namespace transform
diff --git a/src/security/transform/signer-filter.hpp b/src/security/transform/signer-filter.hpp
index dc4ffff..a6d06c5 100644
--- a/src/security/transform/signer-filter.hpp
+++ b/src/security/transform/signer-filter.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -58,7 +58,7 @@
private:
class Impl;
- unique_ptr<Impl> m_impl;
+ const unique_ptr<Impl> m_impl;
};
unique_ptr<Transform>
diff --git a/src/security/transform/verifier-filter.hpp b/src/security/transform/verifier-filter.hpp
index 7fed9fc..4bc63e3 100644
--- a/src/security/transform/verifier-filter.hpp
+++ b/src/security/transform/verifier-filter.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -60,7 +60,7 @@
private:
class Impl;
- unique_ptr<Impl> m_impl;
+ const unique_ptr<Impl> m_impl;
};
unique_ptr<Transform>