SSP21-CPP
ssp21
crypto
IKeySource.h
1
2
#ifndef SSP21_IKEYSOURCE_H
3
#define SSP21_IKEYSOURCE_H
4
5
#include "ssp21/crypto/KeyRecord.h"
6
7
namespace
ssp21
8
{
9
/**
10
* Interface used to lookup
11
*/
12
class
IKeySource
13
{
14
public
:
15
16
virtual
~
IKeySource
() {}
17
18
/**
19
* Consume a key record from the key source.
20
*
21
* @return a valid key, or nullptr if no key is available
22
*/
23
virtual
std::shared_ptr<const KeyRecord>
consume_key
() = 0;
24
};
25
26
27
28
29
}
30
31
#endif
ssp21
SSP21-cpp main namespace.
Definition:
BufferTypes.h:12
ssp21::IKeySource
Definition:
IKeySource.h:12
ssp21::IKeySource::consume_key
virtual std::shared_ptr< const KeyRecord > consume_key()=0
Generated on Tue Apr 9 2019 11:41:41 for SSP21-CPP by
1.8.15