CPKCS10Attributes Class Reference
class CPKCS10Attributes : public CBase |
Class for encoding a collection of certificate attributes and passing them to the CPKCS10Request class. Some possible attributes are described in PKCS#9.
Constructor & Destructor Documentation
CPKCS10Attributes()
CPKCS10Attributes | ( | ) | [private] |
~CPKCS10Attributes()
IMPORT_C | ~CPKCS10Attributes | ( | ) | |
Member Functions Documentation
AddAttributeL(CPKCS10Attribute *)
Adds a new attribute for the certificate request.
AddPKCSAttributeL(CPKCSAttributeBase *)
Adds a new attribute for the certificate request.
ConstructL()
void | ConstructL | ( | ) | [private] |
Second phase construction function.
Note: The structure of the attribute node is as follows:
SET
SEQUENCE
OID of attribute
SET values
...
NewL()
Creates an instance of the class.
NewLC()
Creates an instance of the class.
TakeEncodingC()
Get the ASN1 encoding of the attributes and relinquish ownership of it, leaving it on the cleanup stack. This is called by CPKCS10Request when SetAttributes() is called. This method may leave with E32USER-CBase:66 if a stack frame for the next PushL() cannot be allocated.
TakeEncodingLC()
Get the ASN.1 encoding of the attribute and relinquish ownership of it, leaving it on the cleanup stack. This is called by
CPKCS10Request when SetAttributes() is called.
- panic
- E32USER-CBase 66 if a stack frame for the next PushL() cannot be allocated.
Member Data Documentation
CASN1EncSequence * iRoot
Pointer to sequence of user-supplied certificate attributes. AddAttributeL method is used to create and fill this member. If it is initialized by the time CalculateEncodingL method is called, the latter uses attributes from this member variable for the request, otherwise no attributes are inserted into the request.
See AddAttributeL for the explanation of ASN.1 encoding of attributes.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.