14 #ifndef GDCMCRYPTOGRAPHICMESSAGESYNTAX_H
15 #define GDCMCRYPTOGRAPHICMESSAGESYNTAX_H
21 class CryptographicMessageSyntaxInternals;
40 bool ParseCertificateFile(
const char *filename );
41 bool ParseKeyFile(
const char *filename );
53 void SetCipherType(CipherTypes type);
54 CipherTypes GetCipherType()
const;
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;
70 #endif //GDCMCRYPTOGRAPHICMESSAGESYNTAX_H
Definition: gdcmCryptographicMessageSyntax.h:44
Definition: gdcmCryptographicMessageSyntax.h:45
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
Definition: gdcmCryptographicMessageSyntax.h:46
Definition: gdcmCryptographicMessageSyntax.h:47
Class for CryptographicMessageSyntax encryption. This is just a simple wrapper around openssl PKCS7_e...
Definition: gdcmCryptographicMessageSyntax.h:33