Shaka Packager SDK
Public Member Functions | Static Public Member Functions | List of all members
shaka::media::AesRequestSigner Class Reference

AesRequestSigner uses AES-CBC signing. More...

#include <request_signer.h>

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

Public Member Functions

bool GenerateSignature (const std::string &message, std::string *signature) override
 RequestSigner implementation override.
 
- Public Member Functions inherited from shaka::media::RequestSigner
const std::string & signer_name () const
 

Static Public Member Functions

static AesRequestSignerCreateSigner (const std::string &signer_name, const std::vector< uint8_t > &aes_key, const std::vector< uint8_t > &iv)
 

Additional Inherited Members

- Protected Member Functions inherited from shaka::media::RequestSigner
 RequestSigner (const std::string &signer_name)
 

Detailed Description

AesRequestSigner uses AES-CBC signing.

Definition at line 45 of file request_signer.h.

Member Function Documentation

◆ CreateSigner()

AesRequestSigner * shaka::media::AesRequestSigner::CreateSigner ( const std::string &  signer_name,
const std::vector< uint8_t > &  aes_key,
const std::vector< uint8_t > &  iv 
)
static

Create an AesSigner object from key and iv.

Returns
The created AesRequestSigner object on success, NULL otherwise.

Definition at line 28 of file request_signer.cc.


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