userver: crypto::Signer Class Reference
Loading...
Searching...
No Matches
crypto::Signer Class Referenceabstract

#include <userver/crypto/signers.hpp>

Detailed Description

Base signer class.

Definition at line 24 of file signers.hpp.

+ Inheritance diagram for crypto::Signer:

Public Member Functions

 Signer (const std::string &name)
 
virtual std::string Sign (std::initializer_list< std::string_view > data) const =0
 Signs a raw message, returning the signature.
 
const std::string & Name () const
 

Member Function Documentation

◆ Sign()

virtual std::string crypto::Signer::Sign ( std::initializer_list< std::string_view > data) const
pure virtual

Signs a raw message, returning the signature.

Implemented in crypto::SignerNone, crypto::HmacShaSigner< bits >, and crypto::DsaSigner< type, bits >.


The documentation for this class was generated from the following file: