Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
net_instaweb::SHA1Signature Class Reference

Implementation class of Signature, using HMAC-SHA1 for signing. More...

#include "sha1_signature.h"

Inheritance diagram for net_instaweb::SHA1Signature:
net_instaweb::Signature

Public Member Functions

 SHA1Signature (int signature_size)
 
int SignatureSizeInChars () const
 Returns the string length of the signatures produced by the Sign() method.
 
- Public Member Functions inherited from net_instaweb::Signature
 Signature ()
 
GoogleString Sign (StringPiece key, StringPiece data) const
 

Static Public Member Functions

static int ComputeSizeFromNumberOfBytes (int num_bytes)
 

Static Public Attributes

static const int kDefaultSignatureSize = 10
 
static const int kSHA1NumBytes = 20
 

Protected Member Functions

virtual GoogleString RawSign (StringPiece key, StringPiece data) const
 Computes a binary signature of a given data under key.
 
virtual int RawSignatureSizeInBytes () const
 The number of bytes RawSign will produce.
 

Detailed Description

Implementation class of Signature, using HMAC-SHA1 for signing.


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