Logo Search packages:      
Sourcecode: gdcm version File versions  Download package

gdcm::CryptographicMessageSyntax Class Reference

#include <gdcmCryptographicMessageSyntax.h>

List of all members.


Detailed Description

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

Definition at line 34 of file gdcmCryptographicMessageSyntax.h.


Public Types

enum  CipherTypes {
  DES_CIPHER, DES3_CIPHER, AES128_CIPHER, AES192_CIPHER,
  AES256_CIPHER
}

Public Member Functions

bool Decrypt (char *output, size_t &outlen, const char *array, size_t len) const
bool Encrypt (char *output, size_t &outlen, const char *array, size_t len) const
CipherTypes GetCipherType () const
bool ParseCertificateFile (const char *filename)
bool ParseKeyFile (const char *filename)
void SetCipherType (CipherTypes type)

Private Member Functions

 CryptographicMessageSyntax (const CryptographicMessageSyntax &)
void operator= (const CryptographicMessageSyntax &)

Private Attributes

CryptographicMessageSyntaxInternals * Internals

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index