#include <DigestAlgorithm.h>
Definition at line 17 of file DigestAlgorithm.h.
Enumerator |
---|
e_SHA1 |
|
e_SHA256 |
|
e_SHA384 |
|
e_SHA512 |
|
e_RIPEMD160 |
|
e_unknown_digest_algorithm |
|
Definition at line 21 of file DigestAlgorithm.h.
static std::vector<UChar> pdftron::Crypto::DigestAlgorithm::CalculateDigest |
( |
DigestAlgorithm::Type |
in_digest_algorithm_type, |
|
|
const std::vector< UChar > & |
in_message_buf |
|
) |
| |
|
static |
Calculates a digest of arbitrary data. Useful during CMS generation custom signing workflows for digesting signedAttributes before sending off for CMS signatureValue generation (e.g. by HSM device or cloud signing platform).
- Parameters
-
in_digest_algorithm_type | – the digest algorithm to use |
in_message_buf | – the message to digest |
- Returns
- a container of bytes corresponding to the digest of the message
static std::vector<UChar> pdftron::Crypto::DigestAlgorithm::CalculateDigest |
( |
DigestAlgorithm::Type |
in_digest_algorithm_type, |
|
|
const UChar * |
in_message_buf, |
|
|
const size_t |
in_message_buf_size |
|
) |
| |
|
static |
Calculates a digest of arbitrary data. Useful during CMS generation custom signing workflows for digesting signedAttributes before sending off for CMS signatureValue generation (e.g. by HSM device or cloud signing platform).
- Parameters
-
in_digest_algorithm_type | – the digest algorithm to use |
in_message_buf | – the message to digest |
in_message_buf_size | – the size of in_message_buf |
- Returns
- a container of bytes corresponding to the digest of the message
The documentation for this class was generated from the following file: