xmltooling  3.2.0
xmlencryption::Encrypter::EncryptionParams Struct Reference

Structure to collect encryption requirements. More...

#include <xmltooling/encryption/Encrypter.h>

Collaboration diagram for xmlencryption::Encrypter::EncryptionParams:

Public Member Functions

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

Public Attributes

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

Detailed Description

Structure to collect encryption requirements.

Constructor & Destructor Documentation

◆ EncryptionParams()

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

Constructor.

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

Parameters
algorithmthe XML Encryption algorithm constant
keyBufferbuffer containing the raw key information
keyBufferSizethe size of the raw key buffer in bytes
credentialoptional Credential supplying the encryption key
compacttrue iff the encrypted representation should be made as small as possible

Member Data Documentation

◆ m_algorithm

const XMLCh* xmlencryption::Encrypter::EncryptionParams::m_algorithm

Data encryption algorithm.

◆ m_compact

bool xmlencryption::Encrypter::EncryptionParams::m_compact

Flag limiting the size of the encrypted XML representation.

◆ m_credential

const xmltooling::Credential* xmlencryption::Encrypter::EncryptionParams::m_credential

Credential containing the encryption key.

◆ m_keyBuffer

const unsigned char* xmlencryption::Encrypter::EncryptionParams::m_keyBuffer

Buffer containing encryption key.

◆ m_keyBufferSize

unsigned int xmlencryption::Encrypter::EncryptionParams::m_keyBufferSize

Size of buffer.


The documentation for this struct was generated from the following file: