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

RsaRequestSigner uses RSA-PSS signing. More...

#include <request_signer.h>

Inheritance diagram for shaka::media::RsaRequestSigner:
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 RsaRequestSignerCreateSigner (const std::string &signer_name, const std::string &pkcs1_rsa_key)
 

Additional Inherited Members

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

Detailed Description

RsaRequestSigner uses RSA-PSS signing.

Definition at line 69 of file request_signer.h.

Member Function Documentation

◆ CreateSigner()

RsaRequestSigner * shaka::media::RsaRequestSigner::CreateSigner ( const std::string &  signer_name,
const std::string &  pkcs1_rsa_key 
)
static

Create an RsaSigner object using a DER encoded PKCS#1 RSAPrivateKey.

Returns
The created RsaRequestSigner object on success, NULL otherwise.

Definition at line 62 of file request_signer.cc.


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