OpenQuizz
Une application de gestion des contenus pédagogiques
SigningAlgorithm Class Reference
Inheritance diagram for SigningAlgorithm:
Collaboration diagram for SigningAlgorithm:

Public Member Functions

def get_signature (self, key, value)
 
def verify_signature (self, key, value, sig)
 

Detailed Description

Subclasses must implement :meth:`get_signature` to provide
signature generation functionality.

Member Function Documentation

◆ get_signature()

def get_signature (   self,
  key,
  value 
)
Returns the signature for the given key and value.

Reimplemented in HMACAlgorithm, and NoneAlgorithm.

◆ verify_signature()

def verify_signature (   self,
  key,
  value,
  sig 
)
Verifies the given signature matches the expected
signature.

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