22 #ifndef NDN_SECURITY_SECURITY_COMMON_HPP 23 #define NDN_SECURITY_SECURITY_COMMON_HPP 31 namespace signed_interest {
43 namespace command_interest {
58 using InputBuffers = std::vector<std::pair<const uint8_t*, size_t>>;
140 #endif // NDN_SECURITY_SECURITY_COMMON_HPP const ssize_t POS_RANDOM_VAL
KeyIdType
The type of KeyId component in a key name.
std::ostream & operator<<(std::ostream &os, const Data &data)
RSA key, supports sign/verify and encrypt/decrypt operations.
const size_t MIN_SIZE
minimal number of components for Signed Interest
HMAC key, supports sign/verify operations.
KeyType
The type of a cryptographic key.
Common includes and macros used throughout the library.
Elliptic Curve key (e.g. for ECDSA), supports sign/verify operations.
Use the SHA-256 hash of the public key as key id.
const ssize_t POS_SIG_VALUE
const ssize_t POS_TIMESTAMP
const ssize_t POS_SIG_INFO
Use a 64-bit random number as key id.
AES key, supports encrypt/decrypt operations.