EncryptedData.cpp File Reference


Detailed Description

Subsystem: Cryptographic Message Syntax (PKIFCMS)

Module: CPKIFEncryptedData

Id
EncryptedData.cpp 11927 2010-10-21 19:09:46Z agalustyan

Definition in file EncryptedData.cpp.

#include "EncryptedData.h"
#include "Attribute.h"
#include "Buffer.h"
#include "EncryptedContentInfo.h"
#include "OID.h"
#include "AlgorithmIdentifier.h"
#include "PKIFBase64.h"
#include "PKIFAlgorithm.h"
#include "ToolkitUtils.h"
#include "PKIFMessageException.h"
#include "PKIFCMSMessageMemoryHelper.h"
#include "ASN1Helper.h"
#include "IPKIFCryptoRawOperations.h"
#include "IPKIFCryptoMisc.h"
#include "PKIFCMSAttributeMediator2.h"
#include "CryptographicMessageSyntax2004.h"
#include <iterator>

Include dependency graph for EncryptedData.cpp:

Go to the source code of this file.

Functions

void EncodeIVAsOctetString (unsigned char *iv, int ivLen, unsigned char **encodedIV, int *encodedIVLen)
void SetupAttributesInObjectiveStructure (CPKIFAttributeList &attrs, DList &objAttrs)


Function Documentation

void EncodeIVAsOctetString ( unsigned char *  iv,
int  ivLen,
unsigned char **  encodedIV,
int *  encodedIVLen 
)

Interface: Subsystem

This is a helper function that encodes an IV as an octet string

Returns:
None
Exceptions:
CPKIFMessageException(ASN1_ENCODE_ERROR) 
Parameters:
iv  [in] Buffer that contains the IV
ivLen  [in] IV length
encodedIV  [out] Buffer that contains the encoded IV
encodedIVLen  [out] Encoded IN length

Definition at line 1654 of file CACCMSUtils.cpp.

void SetupAttributesInObjectiveStructure ( CPKIFAttributeList attrs,
DList &  objAttrs 
)

Interface: Subsystem

This function sets up attributes in an objective structure

Returns:
None
Parameters:
attrs  [in]List of attributes
objAttrs  [out]Objective structure that will contain the attributes

Definition at line 363 of file CACCMSUtils.cpp.


Generated on Mon Nov 15 11:16:49 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6