23 #ifndef NDN_ENCRYPT_PARAMS_LITE_HPP
24 #define NDN_ENCRYPT_PARAMS_LITE_HPP
26 #include "../../util/blob-lite.hpp"
27 #include "../../../c/encrypt/algo/encrypt-params-types.h"
47 ndn_EncryptAlgorithmType
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:35
static EncryptParamsLite & downCast(ndn_EncryptParams &encryptParams)
Downcast the reference to the ndn_EncryptParams struct to an EncryptParamsLite.
Definition: encrypt-params-lite.hpp:88
An EncryptParamsLite holds an algorithm type and other parameters used to encrypt and decrypt...
Definition: encrypt-params-lite.hpp:36
ndn_EncryptAlgorithmType algorithmType
-1 for none
Definition: encrypt-params-types.h:45
EncryptParamsLite & setAlgorithmType(ndn_EncryptAlgorithmType algorithmType)
Set the algorithm type.
Definition: encrypt-params-lite.hpp:63
static BlobLite & downCast(ndn_Blob &blob)
Downcast the reference to the ndn_Blob struct to a BlobLite.
Definition: blob-lite.hpp:76
const BlobLite & getInitialVector() const
Get the initial vector.
Definition: encrypt-params-lite.hpp:55
A BlobLite holds a pointer to an immutable pre-allocated buffer and its length This is like a JavaScr...
Definition: blob-lite.hpp:37
ndn_EncryptAlgorithmType getAlgorithmType() const
Get the algorithm type.
Definition: encrypt-params-lite.hpp:48
An ndn_EncryptParams holds an algorithm type and other parameters used to encrypt and decrypt...
Definition: encrypt-params-types.h:44
EncryptParamsLite()
Create an EncryptParamsLite with defaults for all the values.
Definition: encrypt-params-lite.cpp:28
EncryptParamsLite & setInitialVector(const BlobLite &initialVector)
Set the initial vector.
Definition: encrypt-params-lite.hpp:76