#include <vector>
#include <gcrypt.h>
#include "rsa.h"
#include "formatStrings.h"
#include "readTypes.h"
#include "reporter.h"
#include "helper.h"
#include "slurpedfile.h"
#include "typedefs.h"
Go to the source code of this file.
Classes | |
class | CAid |
class | verifiedcert |
Defines | |
#define | CRYPTO_H CRYPTO_H |
Functions | |
bool | checkSHA1match (const unsigned char *text, int textlength, const unsigned char *hash) |
bool | CheckSignature (const iter &data, int length, const iter &signature, int siglength, const rsa &key) |
#define CRYPTO_H CRYPTO_H |
bool checkSHA1match | ( | const unsigned char * | text, | |
int | textlength, | |||
const unsigned char * | hash | |||
) |
Referenced by CheckSignature(), and verifiedcert::verify().
bool CheckSignature | ( | const iter & | data, | |
int | length, | |||
const iter & | signature, | |||
int | siglength, | |||
const rsa & | key | |||
) |
References checkSHA1match(), compare(), and rsa::perform().
Referenced by vublock::checksig(), and tlvblock::checksig().