14 #ifndef GDCMCRYPTOGRAPHICMESSAGESYNTAX_H
15 #define GDCMCRYPTOGRAPHICMESSAGESYNTAX_H
37 virtual bool ParseCertificateFile(
const char *filename ) = 0;
38 virtual bool ParseKeyFile(
const char *filename ) = 0;
41 virtual bool SetPassword(
const char * pass,
size_t passLen) = 0;
44 virtual bool Encrypt(
char *output,
size_t &outlen,
const char *array,
size_t len)
const = 0;
46 virtual bool Decrypt(
char *output,
size_t &outlen,
const char *array,
size_t len)
const = 0;
48 virtual void SetCipherType(CipherTypes type) = 0;
50 virtual CipherTypes GetCipherType()
const = 0;
59 #endif //GDCMCRYPTOGRAPHICMESSAGESYNTAX_H
Definition: gdcmCryptographicMessageSyntax.h:30
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
Definition: gdcmCryptographicMessageSyntax.h:31
Definition: gdcmCryptographicMessageSyntax.h:32
virtual ~CryptographicMessageSyntax()
Definition: gdcmCryptographicMessageSyntax.h:27
Definition: gdcmCryptographicMessageSyntax.h:22
CryptographicMessageSyntax()
Definition: gdcmCryptographicMessageSyntax.h:25
Definition: gdcmASN1.h:20