An EncryptParamsLite holds an algorithm type and other parameters used to encrypt and decrypt.
More...
#include <encrypt-params-lite.hpp>
An EncryptParamsLite holds an algorithm type and other parameters used to encrypt and decrypt.
- Note
- This class is an experimental feature. The API may change.
ndn_EncryptAlgorithmType ndn::EncryptParamsLite::getAlgorithmType |
( |
| ) |
const |
|
inline |
Get the algorithm type.
- Returns
- The algorithm type, or -1 if not specified.
const BlobLite& ndn::EncryptParamsLite::getInitialVector |
( |
| ) |
const |
|
inline |
Get the initial vector.
- Returns
- The initial vector. If not specified, isNull() is true.
EncryptParamsLite& ndn::EncryptParamsLite::setAlgorithmType |
( |
ndn_EncryptAlgorithmType |
algorithmType | ) |
|
|
inline |
Set the algorithm type.
- Parameters
-
algorithmType | The algorithm type. If not specified, set to -1. |
- Returns
- This EncryptParamsLite so that you can chain calls to update values.
Set the initial vector.
- Parameters
-
initialVector | The initial vector. If not specified, set to the default BlobLite() where isNull() is true. |
- Returns
- This EncryptParamsLite so that you can chain calls to update values.
The documentation for this class was generated from the following files: