SSP21-CPP
Public Member Functions | List of all members
ssp21::IKeySource Class Referenceabstract

#include <ssp21/crypto/IKeySource.h>

Public Member Functions

virtual std::shared_ptr< const KeyRecordconsume_key ()=0
 

Detailed Description

Interface used to lookup

Definition at line 12 of file IKeySource.h.

Member Function Documentation

◆ consume_key()

virtual std::shared_ptr<const KeyRecord> ssp21::IKeySource::consume_key ( )
pure virtual

Consume a key record from the key source.

Returns
a valid key, or nullptr if no key is available