Botan 1.10.17
Botan::EMSA1 Class Reference

#include <emsa1.h>

Inheritance diagram for Botan::EMSA1:
Botan::EMSA Botan::EMSA1_BSI

Public Member Functions

 EMSA1 (HashFunction *h)
 ~EMSA1 ()

Protected Member Functions

const HashFunctionhash_ptr () const

Detailed Description

EMSA1 from IEEE 1363 Essentially, sign the hash directly

Definition at line 20 of file emsa1.h.

Constructor & Destructor Documentation

◆ EMSA1()

Botan::EMSA1::EMSA1 ( HashFunction * h)
inline
Parameters
hthe hash object to use

Definition at line 26 of file emsa1.h.

26: hash(h) {}

Referenced by Botan::EMSA1_BSI::EMSA1_BSI(), and Botan::get_emsa().

◆ ~EMSA1()

Botan::EMSA1::~EMSA1 ( )
inline

Definition at line 27 of file emsa1.h.

27{ delete hash; }

Member Function Documentation

◆ hash_ptr()

const HashFunction * Botan::EMSA1::hash_ptr ( ) const
inlineprotected
Returns
const pointer to the underlying hash

Definition at line 32 of file emsa1.h.

32{ return hash; }

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