14#ifndef GDCMOPENSSLP7CRYPTOGRAPHICMESSAGESYNTAX_H
15#define GDCMOPENSSLP7CRYPTOGRAPHICMESSAGESYNTAX_H
22class CryptographicMessageSyntaxInternals;
47 gdcmWarningMacro(
"Openssl using PKCS7 does not support Password Based Encryption." );
57 bool Encrypt(
char *output,
size_t &outlen,
const char *array,
size_t len)
const;
60 bool Decrypt(
char *output,
size_t &outlen,
const char *array,
size_t len)
const;
63 CryptographicMessageSyntaxInternals *Internals;
Definition gdcmCryptographicMessageSyntax.h:23
CipherTypes
Definition gdcmCryptographicMessageSyntax.h:31
Definition gdcmOpenSSLP7CryptographicMessageSyntax.h:35
bool Encrypt(char *output, size_t &outlen, const char *array, size_t len) const
create a PKCS#7 envelopedData structure
bool ParseKeyFile(const char *filename)
bool Decrypt(char *output, size_t &outlen, const char *array, size_t len) const
decrypt content from a PKCS#7 envelopedData structure
~OpenSSLP7CryptographicMessageSyntax()
bool ParseCertificateFile(const char *filename)
CipherTypes GetCipherType() const
bool SetPassword(const char *, size_t)
Definition gdcmOpenSSLP7CryptographicMessageSyntax.h:45
OpenSSLP7CryptographicMessageSyntax()
void SetCipherType(CipherTypes type)
#define gdcmWarningMacro(msg)
Warning.
Definition gdcmTrace.h:142
#define GDCM_EXPORT
Definition gdcmWin32.h:34