|
GDCM 3.0.24
|
#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 | |
| bool | Encrypt (char *output, size_t &outlen, const char *array, size_t len) const |
| create a PKCS#7 envelopedData structure | |
| CipherTypes | GetCipherType () const |
| bool | ParseCertificateFile (const char *filename) |
| bool | ParseKeyFile (const char *filename) |
| void | SetCipherType (CipherTypes type) |
| bool | SetPassword (const char *, size_t) |
Public Member Functions inherited from gdcm::CryptographicMessageSyntax | |
| CryptographicMessageSyntax ()=default | |
| CryptographicMessageSyntax (const CryptographicMessageSyntax &)=delete | |
| virtual | ~CryptographicMessageSyntax ()=default |
| void | operator= (const CryptographicMessageSyntax &)=delete |
Additional Inherited Members | |
Public Types inherited from gdcm::CryptographicMessageSyntax | |
| 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.