xmlencryption::Encrypter::EncryptionParams Struct Reference

Structure to collect encryption requirements. More...

#include <xmltooling/encryption/Encrypter.h>

List of all members.

Public Member Functions

 EncryptionParams (const XMLCh *algorithm=DSIGConstants::s_unicodeStrURIAES128_CBC, const unsigned char *keyBuffer=NULL, unsigned int keyBufferSize=0, const xmltooling::Credential *credential=NULL, bool compact=false)
 Constructor.

Public Attributes

const XMLCh * m_algorithm
 Data encryption algorithm.
const unsigned char * m_keyBuffer
 Buffer containing encryption key.
unsigned int m_keyBufferSize
 Size of buffer.
const xmltooling::Credentialm_credential
 Credential containing the encryption key.
bool m_compact
 Flag limiting the size of the encrypted XML representation.


Detailed Description

Structure to collect encryption requirements.


Constructor & Destructor Documentation

xmlencryption::Encrypter::EncryptionParams::EncryptionParams ( const XMLCh *  algorithm = DSIGConstants::s_unicodeStrURIAES128_CBC,
const unsigned char *  keyBuffer = NULL,
unsigned int  keyBufferSize = 0,
const xmltooling::Credential credential = NULL,
bool  compact = false 
) [inline]

Constructor.

The algorithm constant and key buffer MUST be accessible for the life of the structure.

Parameters:
algorithm the XML Encryption algorithm constant
keyBuffer buffer containing the raw key information
keyBufferSize the size of the raw key buffer in bytes
credential optional Credential supplying the encryption key
compact true iff the encrypted representation should be made as small as possible


The documentation for this struct was generated from the following file:
Generated on Mon Oct 19 14:18:34 2009 for xmltooling by  doxygen 1.4.7