CPKCS9ChallengePasswordAttr Class Reference

class CPKCS9ChallengePasswordAttr : public CPKCSAttributeBase

Class representing a PKCS#9 Challenge Password attribute.

Inherits from

Constructor & Destructor Documentation

CPKCS9ChallengePasswordAttr()

CPKCS9ChallengePasswordAttr ( ) [private]

~CPKCS9ChallengePasswordAttr()

~CPKCS9ChallengePasswordAttr ( ) [virtual]

Member Functions Documentation

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aPassword ) [private]

Parameters

const TDesC8 & aPassword

GetEncodingLC()

CASN1EncBase * GetEncodingLC ( ) [virtual]
Get the ASN.1 encoding of the attribute and relinquish ownership of it, leaving it on the cleanup stack. This is called by CPKCS10Attribtues when AddAttribute() is called. Note that this method cannot be reused unless Reset() has been called.
panic
E32USER-CBase:66 if a stack frame for the next PushL() cannot be allocated.

NewL(const TDesC8 &)

IMPORT_C CPKCS9ChallengePasswordAttr * NewL ( const TDesC8 & aPassword ) [static]

Create a PKCS#9 Challenge Password attribute with the given password.

Parameters

const TDesC8 & aPassword The password - should be a Printable String with an upper bound length of 255 characters and lower bound of 1 character.

NewLC(const TDesC8 &)

IMPORT_C CPKCS9ChallengePasswordAttr * NewLC ( const TDesC8 & aPassword ) [static]

Create a PKCS#9 Challenge Password attribute with the given password, leaving it on the cleanup stack.

Parameters

const TDesC8 & aPassword The password - should be a Printable String with an upper bound length of 255 characters and lower bound of 1 character.

ResetL(const TDesC8 &)

IMPORT_C void ResetL ( const TDesC8 & aPassword )

Reset method to allow for re-use of the attribute object.

Parameters

const TDesC8 & aPassword The password - should be a Printable String with an upper bound length of 255 characters and lower bound of 1 character.