GDCM
2.4.5
|
Class for CryptographicMessageSyntax encryption. This is just a simple wrapper around openssl PKCS7_encrypt functionalities. More...
#include <gdcmOpenSSLP7CryptographicMessageSyntax.h>
Public Member Functions | |
OpenSSLP7CryptographicMessageSyntax () | |
~OpenSSLP7CryptographicMessageSyntax () | |
bool | Decrypt (char *output, size_t &outlen, const char *array, size_t len) const |
decrypt content from a PKCS#7 envelopedData structure More... | |
bool | Encrypt (char *output, size_t &outlen, const char *array, size_t len) const |
create a PKCS#7 envelopedData structure More... | |
CipherTypes | GetCipherType () const |
bool | ParseCertificateFile (const char *filename) |
bool | ParseKeyFile (const char *filename) |
void | SetCipherType (CipherTypes type) |
bool | SetPassword (const char *, size_t) |
![]() | |
CryptographicMessageSyntax () | |
virtual | ~CryptographicMessageSyntax () |
Additional Inherited Members | |
![]() | |
enum | CipherTypes { DES3_CIPHER, AES128_CIPHER, AES192_CIPHER, AES256_CIPHER } |
Class for CryptographicMessageSyntax encryption. This is just a simple wrapper around openssl PKCS7_encrypt functionalities.
See online documentation http://www.openssl.org/docs/crypto/PKCS7_encrypt.html
gdcm::OpenSSLP7CryptographicMessageSyntax::OpenSSLP7CryptographicMessageSyntax | ( | ) |
gdcm::OpenSSLP7CryptographicMessageSyntax::~OpenSSLP7CryptographicMessageSyntax | ( | ) |
|
virtual |
decrypt content from a PKCS#7 envelopedData structure
Implements gdcm::CryptographicMessageSyntax.
|
virtual |
create a PKCS#7 envelopedData structure
Implements gdcm::CryptographicMessageSyntax.
|
virtual |
Implements gdcm::CryptographicMessageSyntax.
|
virtual |
Implements gdcm::CryptographicMessageSyntax.
|
virtual |
Implements gdcm::CryptographicMessageSyntax.
|
virtual |
Set Cipher Type. Default is: AES256_CIPHER
Implements gdcm::CryptographicMessageSyntax.
|
inlinevirtual |
Implements gdcm::CryptographicMessageSyntax.
References gdcmWarningMacro.