CX520AttributeTypeAndValue Class Reference
| class CX520AttributeTypeAndValue : public CBase |
Contains an attribute type and a value, as defined by the X.520 standard.
A Distinguished Name object, as defined by the X.500 standard, consists of a sequence of these objects.
Inherits from
- CX520AttributeTypeAndValue
Constructor & Destructor Documentation
CX520AttributeTypeAndValue(const TAttributeType)
CX520AttributeTypeAndValue()
| CX520AttributeTypeAndValue | ( | ) | [private] |
~CX520AttributeTypeAndValue()
| IMPORT_C | ~CX520AttributeTypeAndValue | ( | ) | |
Destructor.
Frees all resources owned by the object, prior to its destruction.
Member Functions Documentation
ConstructL(const CX520AttributeTypeAndValue &)
ConstructL(const TDesC8 &, TInt &)
| void | ConstructL | ( | const TDesC8 & | aBinaryData, |
| | TInt & | aPos |
| | ) | [private] |
ConstructL(TAttributeType, const TDesC8 &)
EncodeASN1L()
Encodes the contents into an ASN.1 sequence object.
Useful to insert attribute type/value pairs into other ASN.1 encoding trees.
EncodeASN1LC()
Encodes the contents into an ASN.1 sequence object.
This is useful to insert attribute type/value pairs into other ASN.1 encoding trees.
EncodedValue()
| IMPORT_C const TPtrC8 | EncodedValue | ( | ) | const |
Gets the encoded attribute value of the object.
ExactMatchL(const CX520AttributeTypeAndValue &)
Compares the attribute type and decoded value of the specified object.
ExternalizeL(RWriteStream &)
Externalises an object of this class to a write stream.
The presence of this function means that the standard templated operator<<() can be used to externalise objects of this class.
Parameters
| RWriteStream & aStream | Stream to which the object should be externalised. |
InternalizeL(RReadStream &)
| void | InternalizeL | ( | RReadStream & | aStream | ) | [private, virtual] |
IsCaseInSensitiveL(const TDesC8 &)
|
TBool
| IsCaseInSensitiveL | ( | const TDesC8 & | aSource | ) | const [private] |
This method finds out if case-insensitive comparisons must be done or not. Email Address is the exceptional case of 'IA5String' value type for which comparisons must be done case-insensitivly.
Parameters
| const TDesC8 & aSource | contains the encoded value of the attribute type. |
NewL(const TDesC8 &)
Creates a new CX520AttributeTypeAndValue object from the specified buffer containing the encoded binary representation.
Initialises the object from its encoded binary form into an internal representation.
Parameters
| const TDesC8 & aBinaryData | The encoded binary representation. |
NewL(const TDesC8 &, TInt &)
Creates a new CX520AttributeTypeAndValue object from the specified buffer containing the encoded binary representation, starting at the specified offset.
Initialises the object from its encoded binary form into an internal representation.
Parameters
| const TDesC8 & aBinaryData | The encoded binary representation. |
| TInt & aPos | The offset position from which to start decoding. |
NewL(const CX520AttributeTypeAndValue &)
NewL(RReadStream &)
Parameters
| RReadStream & aStream | Stream from which the object is to be internalised. |
NewL(TAttributeType, const TDesC8 &)
Parameters
| TAttributeType aType | Type of the value (see TAttributeType enum). |
| const TDesC8 & aValue | String value of the attribute. |
NewLC(const TDesC8 &)
Creates a new CX520AttributeTypeAndValue object from the specified buffer containing the encoded binary representation, and puts a pointer to the new object onto the cleanup stack.
Initialises the object from its encoded binary form into an internal representation.
Parameters
| const TDesC8 & aBinaryData | The encoded binary representation. |
NewLC(const TDesC8 &, TInt &)
Creates a new CX520AttributeTypeAndValue object from the specified buffer containing the encoded binary representation, starting at the specified offset, and puts a pointer to the new object onto the cleanup stack.
Initialises the object from its encoded binary form into an internal representation.
Parameters
| const TDesC8 & aBinaryData | The encoded binary representation. |
| TInt & aPos | The offset position from which to start decoding. |
NewLC(const CX520AttributeTypeAndValue &)
Creates a new CX520AttributeTypeAndValue object from an existing object, and puts a pointer to the new object onto the cleanup stack.
This is equivalent to a copy constructor.
NewLC(RReadStream &)
Creates a new CX520AttributeTypeAndValue object from the specified read stream, and puts a pointer to the new object onto the cleanup stack.
Parameters
| RReadStream & aStream | Stream from which the object is to be internalised. |
NewLC(TAttributeType, const TDesC8 &)
Parameters
| TAttributeType aType | Type of the value (see TAttributeType enum). |
| const TDesC8 & aValue | String value of the attribute. |
Type()
| IMPORT_C const TPtrC | Type | ( | ) | const |
Gets the encoded attribute type of the object.
ValueL()
| IMPORT_C HBufC * | ValueL | ( | ) | const [virtual] |
Member Data Documentation
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.