Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Protected Member Functions | List of all members
shaka::media::RequestSigner Class Referenceabstract

Abstract class used for signature generation. More...

#include <request_signer.h>

Inheritance diagram for shaka::media::RequestSigner:
shaka::media::AesRequestSigner shaka::media::RsaRequestSigner

Public Member Functions

virtual bool GenerateSignature (const std::string &message, std::string *signature)=0
 
const std::string & signer_name () const
 

Protected Member Functions

 RequestSigner (const std::string &signer_name)
 

Detailed Description

Abstract class used for signature generation.

Definition at line 23 of file request_signer.h.

Member Function Documentation

virtual bool shaka::media::RequestSigner::GenerateSignature ( const std::string &  message,
std::string *  signature 
)
pure virtual

Generate signature for the input message.

Parameters
signatureshould not be NULL.
Returns
true on success, false otherwise.

Implemented in shaka::media::RsaRequestSigner, and shaka::media::AesRequestSigner.


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