CWTLSText Class Reference

#include <wtlsnames.h>

Link against: wtlscert.lib

class CWTLSText : public CBase

Inherits from

  • CWTLSText

    Member Attribute Documentation

    iName

    HBufC *iName[protected]

    Constructor & Destructor Documentation

    CWTLSText ( )

    CWTLSText()[protected]

    ~CWTLSText ( )

    IMPORT_C~CWTLSText()

    Destructor.

    Frees all resources owned by the object, prior to its destruction.

    Member Function Documentation

    CharacterSet ( )

    IMPORT_C TWTLSCharSetCharacterSet()const

    Gets the character set of the CWTLSText object.

    Returns: The character set

    ConstructL ( const TDesC8 &, TInt & )

    voidConstructL(const TDesC8 &aBinaryData,
    TInt &aPos
    )[protected]

    ExactMatchL ( const CWTLSText & )

    IMPORT_C TBoolExactMatchL(const CWTLSText &aName)const

    Performs a simple byte compare between this CWTLSText object and a specified CWTLSText object.

    There is a subtle difference between this byte-match and CWTLSName::ExactMatchL(). As opposed to the latter, this function should successfully match two names that are the same that were encoded using different character sets.

    ParameterDescription
    aNameAn existing CWTLSText object.

    Returns: ETrue, if the CWTLSText objects match; EFalse, otherwise.

    Name ( )

    IMPORT_C TPtrCName()const

    Gets the name of the CWTLSText object.

    Returns: A pointer to the name of the CWTLSText object.

    NewL ( const TDesC8 & )

    IMPORT_C CWTLSText *NewL(const TDesC8 &aBinaryData)[static]

    Creates a new CWTLSText object from the specified buffer containing the binary coded representation.

    ParameterDescription
    aBinaryDataThe encoded binary representation.

    Returns: The new CWTLSText object.

    NewL ( const TDesC8 &, TInt & )

    IMPORT_C CWTLSText *NewL(const TDesC8 &aBinaryData,
    TInt &aPos
    )[static]

    Creates a new CWTLSText object from the specified buffer containing the binary coded representation, starting at the specified offset.

    ParameterDescription
    aBinaryDataThe encoded binary representation.
    aPosThe offset position from which to start decoding. It specifies an offset into the descriptor, and is updated to the position at the end of the object.

    Returns: The new CWTLSText object.

    NewLC ( const TDesC8 & )

    IMPORT_C CWTLSText *NewLC(const TDesC8 &aBinaryData)[static]

    Creates a new CWTLSText object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.

    ParameterDescription
    aBinaryDataThe encoded binary representation.

    Returns: The new CWTLSText object.

    NewLC ( const TDesC8 &, TInt & )

    IMPORT_C CWTLSText *NewLC(const TDesC8 &aBinaryData,
    TInt &aPos
    )[static]

    Creates a new CWTLSText object from the specified buffer containing the binary coded representation, starting at the specified offset, and puts a pointer to it onto the cleanup stack.

    ParameterDescription
    aBinaryDataThe encoded binary representation.
    aPosThe offset position from which to start decoding. It specifies an offset into the descriptor, and is updated to the position at the end of the object.

    Returns: The new CWTLSText object.