6 #ifndef PDFTRON_H_CPPPDFDigestAlgorithm
7 #define PDFTRON_H_CPPPDFDigestAlgorithm
8 #include <C/Crypto/TRN_DigestAlgorithm.h>
14 namespace pdftron {
namespace Crypto {
59 static std::vector<UChar>
SignDigest(
const std::vector<UChar>& digest_buf,
const DigestAlgorithm::Type digest_algorithm_type,
const std::vector<UChar>& pkcs12_buf,
const UString pkcs12_password);
98 #include <Impl/DigestAlgorithm.inl>
103 #endif //PDFTRON_H_CPPPDFDigestAlgorithm
static std::vector< UChar > CalculateDigest(DigestAlgorithm::Type in_digest_algorithm_type, const std::vector< UChar > &in_message_buf)
static std::vector< UChar > SignDigest(const std::vector< UChar > &digest_buf, const DigestAlgorithm::Type digest_algorithm_type, const UString pkcs12_keyfile_path, const UString pkcs12_password)