Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <x509cert.h>
Link against: x509.lib

Class CX509ValidityPeriod

class CX509ValidityPeriod : public CValidityPeriod;

Description

The period for which an X.509 certificate is valid.

Derivation

Members

Defined in CX509ValidityPeriod:

Inherited from CBase:

Inherited from CValidityPeriod:


Construction and destruction


NewL(const TDesC8 &)

IMPORT_C static CX509ValidityPeriod* NewL(const TDesC8 &aBinaryData);

Description

Creates a new X.509 validity period object from the specified buffer containing the binary coded representation.

Initialises the object from its encoded binary form into an internal representation.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509ValidityPeriod *

The new validity period object.


NewLC(const TDesC8 &)

IMPORT_C static CX509ValidityPeriod* NewLC(const TDesC8 &aBinaryData);

Description

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

Initialises the object from its encoded binary form into an internal representation.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509ValidityPeriod *

The new validity period object.


NewL(const TDesC8 &,TInt &)

IMPORT_C static CX509ValidityPeriod* NewL(const TDesC8 &aBinaryData, TInt &aPos);

Description

Creates a new X.509 validity period object from the specified buffer containing the binary coded 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.

Return value

CX509ValidityPeriod *

The new validity period object.


NewLC(const TDesC8 &,TInt &)

IMPORT_C static CX509ValidityPeriod* NewLC(const TDesC8 &aBinaryData, TInt &aPos);

Description

Creates a new X.509 validity period 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.

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.

Return value

CX509ValidityPeriod *

The new validity period object.