gdcm::SHA1 Class Reference

Class for SHA1. More...

`#include <gdcmSHA1.h>`

## Public Member Functions

| SHA1 ()
| SHA1 (const SHA1 &)=delete
| ~SHA1 ()
void | operator= (const SHA1 &)=delete

## Static Public Member Functions

static bool | Compute (const char *buffer, unsigned long buf_len, char digest_str[20 *2+1])
static bool | ComputeFile (const char *filename, char digest_str[20 *2+1])

## Detailed Description

Class for SHA1.

Warning
  this class is able to pick from one implementation:

1. the one from OpenSSL (when GDCM_USE_SYSTEM_OPENSSL is turned ON)

In all other cases it will return an error

## Constructor & Destructor Documentation

## SHA1() [1/2]

gdcm::SHA1::SHA1 | ( |  | ) |

Referenced by SHA1(), and operator=().

## ~SHA1()

gdcm::SHA1::~SHA1 | ( |  | ) |

## SHA1() [2/2]

gdcm::SHA1::SHA1 | ( | const SHA1 & |  | ) |

delete

References SHA1().

## Member Function Documentation

## Compute()

bool gdcm::SHA1::Compute | ( | const char * | buffer,
|  | unsigned long | buf_len,
|  | char | digest_str[20 *2+1] )

static

## ComputeFile()

bool gdcm::SHA1::ComputeFile | ( | const char * | filename,
|  | char | digest_str[20 *2+1] )

static

## operator=()

void gdcm::SHA1::operator= | ( | const SHA1 & |  | ) |

delete

References SHA1().

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

- gdcmSHA1.h