14 #ifndef GDCMOPENSSLCRYPTOGRAPHICMESSAGESYNTAX_H
15 #define GDCMOPENSSLCRYPTOGRAPHICMESSAGESYNTAX_H
18 #include <openssl/cms.h>
19 #include <openssl/evp.h>
31 bool ParseCertificateFile(
const char *filename );
32 bool ParseKeyFile(
const char *filename );
35 bool SetPassword(
const char * pass,
size_t passLen);
42 bool Encrypt(
char *output,
size_t &outlen,
const char *array,
size_t len)
const;
44 bool Decrypt(
char *output,
size_t &outlen,
const char *array,
size_t len)
const;
50 STACK_OF(X509) *recips;
53 const EVP_CIPHER *internalCipherType;
55 size_t passwordLength;
67 #endif //GDCMOPENSSLCRYPTOGRAPHICMESSAGESYNTAX_H
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
CipherTypes
Definition: gdcmCryptographicMessageSyntax.h:29
Definition: gdcmCryptographicMessageSyntax.h:22
Definition: gdcmASN1.h:20
Definition: gdcmOpenSSLCryptographicMessageSyntax.h:24