CCMSAttribute Class Reference
class CCMSAttribute : public CCMSSequence
|
Attribute type module
ASN.1 Definition: Attribute ::= SEQUENCE { attrType OBJECT IDENTIFIER, attrValues SET OF AttributeValue }
AttributeValue ::= ANY
Constructor & Destructor Documentation
CCMSAttribute()
IMPORT_C
|
CCMSAttribute
|
(
|
)
|
[protected]
|
~CCMSAttribute()
~CCMSAttribute
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AttributeType()
IMPORT_C const
TDesC
&
|
AttributeType
|
(
|
)
|
const
|
Getter for attribute type
-
Since
-
2,8
AttributeValues()
Getter for attribute values
-
Since
-
2.8
ConstructL()
IMPORT_C void
|
ConstructL
|
(
|
)
|
[protected]
|
Protected construction to allow derivation
ConstructL(const TDesC &, const CDesC8Array &)
IMPORT_C void
|
ConstructL
|
(
|
const
TDesC
&
|
aAttributeType,
|
|
const
CDesC8Array
&
|
aAttributeValues
|
|
)
|
[protected]
|
Protected construction to allow derivation
ConstructL(const TDesC &, const TDesC8 &)
IMPORT_C void
|
ConstructL
|
(
|
const
TDesC
&
|
aAttributeType,
|
|
const
TDesC8
&
|
aAttributeValue
|
|
)
|
[protected]
|
Protected construction to allow derivation
Parameters
const
TDesC
& aAttributeType
|
|
const
TDesC8
& aAttributeValue
|
|
DecodeL(const TDesC8 &)
void
|
DecodeL
|
(
|
const
TDesC8
&
|
aRawData
|
)
|
|
Parameters
const
TDesC8
& aRawData
|
raw-data to be parsed in this instance
|
NewL()
Two-phased constructor. NOTE: Encrypt will leave with KErrBadDescriptor if valid Attribute Type has not setted.
NewL(const TDesC &, const CDesC8Array &)
Two-phased constructor. Takes copy of the both type and values.
Parameters
const
TDesC
& aAttributeType
|
The attribute type in desc e.g. content type = "1.2.840.113549.1.9.3".
|
const
CDesC8Array
& aAttributeValues
|
|
NewL(const TDesC &, const TDesC8 &)
Two-phased constructor. Same as above although takes only one value
Parameters
const
TDesC
& aAttributeType
|
The attribute type in desc e.g. content type = "1.2.840.113549.1.9.3".
|
const
TDesC8
& aAttributeValue
|
|
NewLC()
Two-phased constructor. NOTE: Encrypt will leave with KErrBadDescriptor if valid Attribute Type has not setted.
NewLC(const TDesC &, const CDesC8Array &)
Two-phased constructor. Takes copy of the both type and values. Leaves newly created instance in
CleanupStack
Parameters
const
TDesC
& aAttributeType
|
The attribute type in desc e.g. content type = "1.2.840.113549.1.9.3".
|
const
CDesC8Array
& aAttributeValues
|
|
NewLC(const TDesC &, const TDesC8 &)
Two-phased constructor. Same as above although takes only one value Leaves newly created instance in
CleanupStack
Parameters
const
TDesC
& aAttributeType
|
The attribute type in desc e.g. content type = "1.2.840.113549.1.9.3".
|
const
TDesC8
& aAttributeValue
|
|
SetAttributeTypeL(const TDesC &)
IMPORT_C void
|
SetAttributeTypeL
|
(
|
const
TDesC
&
|
aAttributeType
|
)
|
|
Setter for attribute type, takes copy
-
Since
-
2.8
Parameters
const
TDesC
& aAttributeType
|
Attribute type to be set as TDesC.
|
SetAttributeValuesL(const CDesC8Array &)
IMPORT_C void
|
SetAttributeValuesL
|
(
|
const
CDesC8Array
&
|
aAttributeValues
|
)
|
|
Setter for attribute values
-
Since
-
2,8
Member Data Documentation
HBufC * iAttributeType
HBufC
*
|
iAttributeType
|
[private]
|
CDesC8ArrayFlat * iAttributeValues
MCMSAttributeExtension * iReserved
MCMSAttributeExtension *
|
iReserved
|
[private]
|
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.