CPKCS10Attribute Class Reference
class CPKCS10Attribute : public CPKCSAttributeBase |
Class representing a generic certificate attribute. Attributes have an object identifier and one or more values.
Constructor & Destructor Documentation
CPKCS10Attribute()
CPKCS10Attribute | ( | ) | [private] |
~CPKCS10Attribute()
~CPKCS10Attribute | ( | ) | [virtual] |
Member Functions Documentation
AddValueL(CASN1EncBase *)
Add a value to the attribute.
Parameters
CASN1EncBase * aASN1 | ASN1 encoding object for attribute value -- this method takes ownership. |
ConstructL(const TDesC &, CASN1EncBase *)
GetEncodingLC()
Calls the base class implementation for getting the ASN1 encoding of the attribute. Note that this method cannot be reused unless
ResetL() has been called.
- panic
- E32USER-CBase 66 if a stack frame for the next PushL() cannot be allocated.
NewL(const TDesC &, CASN1EncBase *)
Create an attribute with a specified OID and one value. The value forms part of a set. Additional values can be added by calling the AddValueL method.
Parameters
const TDesC & aAttrOID | The specified OID in the form a.b.c. etc. |
CASN1EncBase * aASN1 | ASN1 encoding object for attribute value -- this method takes ownership. |
NewLC(const TDesC &)
Create an attribute with a specified OID and no values, leaving it on the cleanup stack. NOTE: This method is deprecated. Use the other forms of NewLC instead.
Parameters
const TDesC & aAttrOID | The specified OID in the form a.b.c. etc. |
NewLC(const TDesC &, CASN1EncBase *)
Create an attribute with a specified OID and one value, leaving it on the cleanup stack. The value forms part of a set. Additional values can be added by calling the AddValueL method.
Parameters
const TDesC & aAttrOID | The specified OID in the form a.b.c. etc. |
CASN1EncBase * aASN1 | ASN1 encoding object for attribute value -- this method takes ownership. |
ResetL(const TDesC &, CASN1EncBase *)
ResetL method to allow for re-use of the generic attribute object. Additional values can be added by calling the AddValueL method.
Parameters
const TDesC & aAttrOID | The specified OID in the form a.b.c. etc. |
CASN1EncBase * aASN1 | ASN1 encoding object for attribute value -- this method takes ownership. |
TakeEncodingC()
Get the ASN1 encoding of the attribute and relinquish ownership of it, leaving it on the cleanup stack. This is called by CPKCS10Attribtues when AddAttribute() is called. This method may leave with E32USER-CBase:66 if a stack frame for the next PushL() cannot be allocated. NOTE: This method is deprecated. Use GetEncodingLC() instead.
TakeEncodingLC()
Get the ASN1 encoding of the attribute and relinquish ownership of it, leaving it on the cleanup stack. This is called by CPKCS10Attribtues when AddAttribute() is called. This method may leave with E32USER-CBase:66 if a stack frame for the next PushL() cannot be allocated. NOTE: This method is deprecated. Use GetEncodingLC() instead.
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.