Module: CPKIFEncryptedData
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>
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) |
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
CPKIFMessageException(ASN1_ENCODE_ERROR) |
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
attrs | [in]List of attributes |
objAttrs | [out]Objective structure that will contain the attributes |
Definition at line 363 of file CACCMSUtils.cpp.