ndn::SimpleSymmetricKeyParams< KeyParamsInfo > Class Template Reference

SimpleSymmetricKeyParams is a template for symmetric keys with only one parameter: size. More...

#include <key-params.hpp>

Inheritance diagram for ndn::SimpleSymmetricKeyParams< KeyParamsInfo >:
[legend]
Collaboration diagram for ndn::SimpleSymmetricKeyParams< KeyParamsInfo >:
[legend]

Public Member Functions

 SimpleSymmetricKeyParams (const name::Component &keyId, uint32_t size=KeyParamsInfo::getDefaultSize())
 Create key parameter with user specified keyId. More...
 
uint32_t getKeySize () const
 
KeyType getKeyType () const
 
KeyIdType getKeyIdType () const
 
void setKeyId (const name::Component &keyId)
 
const name::ComponentgetKeyId () const
 

Detailed Description

template<typename KeyParamsInfo>
class ndn::SimpleSymmetricKeyParams< KeyParamsInfo >

SimpleSymmetricKeyParams is a template for symmetric keys with only one parameter: size.

Definition at line 229 of file key-params.hpp.

Constructor & Destructor Documentation

template<typename KeyParamsInfo >
ndn::SimpleSymmetricKeyParams< KeyParamsInfo >::SimpleSymmetricKeyParams ( const name::Component keyId,
uint32_t  size = KeyParamsInfo::getDefaultSize() 
)
inlineexplicit

Create key parameter with user specified keyId.

Definition at line 234 of file key-params.hpp.

Member Function Documentation

const name::Component& ndn::KeyParams::getKeyId ( ) const
inlineinherited

Definition at line 71 of file key-params.hpp.

KeyIdType ndn::KeyParams::getKeyIdType ( ) const
inlineinherited

Definition at line 59 of file key-params.hpp.

template<typename KeyParamsInfo >
uint32_t ndn::SimpleSymmetricKeyParams< KeyParamsInfo >::getKeySize ( ) const
inline

Definition at line 242 of file key-params.hpp.

KeyType ndn::KeyParams::getKeyType ( ) const
inlineinherited

Definition at line 53 of file key-params.hpp.

void ndn::KeyParams::setKeyId ( const name::Component keyId)
inlineinherited

Definition at line 65 of file key-params.hpp.