Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: x509cert.h
Link against: x509.lib

Class CX509ValidityPeriod

CX509ValidityPeriod

Support

Supported from 6.0

Description

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

Derivation

CBaseBase class for all classes to be instantiated on the heap
CValidityPeriodThe period for which the certificate is valid
CX509ValidityPeriodThe period for which the X.509 certificate is valid

Defined in CX509ValidityPeriod:
NewL(), NewL(), NewLC(), NewLC()

Inherited from CBase:
operator new()

Inherited from CValidityPeriod:
Finish(), Start(), Valid()


Construction


NewL()

static CX509ValidityPeriod* NewL(const TDesC8& aBinaryData);

Description

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

Iinitialises 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()

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.

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

const TInt& aPos

The offset position from which to start decoding.

Return value

CX509ValidityPeriod*

The new validity period object.


NewLC()

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.

Iinitialises 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()

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.

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

const TInt& aPos

The offset position from which to start decoding.

Return value

CX509ValidityPeriod*

The new validity period object.