TASN1EncPKCS5 Class Reference

class TASN1EncPKCS5

This class provides the means to encode PKCS#5 parameters into an ASN1 sequence as specified in the PKCS#5 specifications.

Public Member Functions
IMPORT_C CASN1EncSequence *EncodeDERL(const CPBEncryptParms &)

Member Functions Documentation

EncodeDERL(const CPBEncryptParms &)

IMPORT_C CASN1EncSequence *EncodeDERL(const CPBEncryptParms &aParms)[static]

Returns an ASN1 sequence encoding the given PKCS#5 PBE parameters. The ASN1 syntax used is specified in the PKCS#5 v2.0 specifications. Refer to the specs for a detailed description of the returned sequence.

This class is used, for instance, by TASN1EncPKCS8 to specify the PBE parameters of encrypted private keys.

Parameters

const CPBEncryptParms & aParmsThe PBE parameters to be encoded