CX509GeneralSubtree Class Reference

#include <x509certext.h>

Link against: x509.lib

class CX509GeneralSubtree : public CBase

Inherits from

Detailed Description

Provides access to the general name and the min/max lengths of the subtree.

Since
v6.0

Constructor & Destructor Documentation

~CX509GeneralSubtree ( )

~CX509GeneralSubtree()[virtual]

Destructor.

Frees all resources owned by the object.

Member Function Documentation

MaxDistance ( )

IMPORT_C TIntMaxDistance()const

Gets the maximum distance of the CX509GeneralSubtree object.

Return Value
The maximum distance of the CX509GeneralSubtree object.

MinDistance ( )

IMPORT_C TIntMinDistance()const

Gets the minimum distance of the CX509GeneralSubtree object.

Return Value
The minimum distance of the CX509GeneralSubtree object.

Name ( )

IMPORT_C const CX509GeneralName &Name()const

Gets the general name.

Return Value
The general name.

NewL ( const TDesC8 & )

CX509GeneralSubtree *NewL(const TDesC8 &aBinaryData)[static]

Creates a new CX509GeneralSubtree object from the specified buffer containing the encoded binary representation.

Parameters
aBinaryDataThe encoded binary representation.
Return Value
The new CX509GeneralSubtree object.

NewL ( const TDesC8 &, TInt & )

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

Creates a new CX509GeneralSubtree object from the specified buffer containing the encoded binary representation.

Parameters
aBinaryDataThe encoded binary representation.
aPosThe position from which to start decoding.
Return Value
The new CX509GeneralSubtree object.

NewLC ( const TDesC8 & )

CX509GeneralSubtree *NewLC(const TDesC8 &aBinaryData)[static]

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

Parameters
aBinaryDataThe encoded binary representation.
Return Value
The new CX509GeneralSubtree object.

NewLC ( const TDesC8 &, TInt & )

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

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

Parameters
aBinaryDataThe encoded binary representation.
aPosThe position from which to start decoding.
Return Value
The new CX509GeneralSubtree object.