Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509cert.h
Link against: x509.lib

Class CX509AlgorithmIdentifier

class CX509AlgorithmIdentifier : public CAlgorithmIdentifier;

Description

Algorithm identifier for an X.509 certificate.

Derivation

Members

Defined in CX509AlgorithmIdentifier:
EncodeASN1DERLC(), NewL(), NewL(), NewL(), NewLC(), NewLC(), NewLC()

Inherited from CAlgorithmIdentifier:
Algorithm(), ConstructL(), EncodedParams(), iAlgorithmId, iEncodedParams, operator==()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

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

Description

Creates a new X.509 algorithm identifier object from the specified buffer containing the binary coded representation.

The function initialises the object from its encoded binary form into an internal representation.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509AlgorithmIdentifier *

The new algorithm identifier object.


NewLC()

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

Description

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

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509AlgorithmIdentifier *

The new algorithm identifier object.


NewL()

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

Description

Creates a new X.509 algorithm identifier object from the specified buffer containing the binary coded representation, starting at the specified offset.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

TInt &aPos

The offset position from which to start decoding.

Return value

CX509AlgorithmIdentifier *

The new algorithm identifier object.


NewLC()

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

Description

Creates a new X.509 algorithm identifier 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.

TInt &aPos

The offset position from which to start decoding.

Return value

CX509AlgorithmIdentifier *

The new algorithm identifier object.


NewL()

static IMPORT_C CX509AlgorithmIdentifier *NewL(TAlgorithmId aAlgorithmId, const TDesC8 &aEncodedParams);

Description

Creates a X509 Algorithm Identifier object from the given algorithm ID and the encoded parameter.

Parameters

TAlgorithmId aAlgorithmId

The algorithm Id used to build the object.

const TDesC8 &aEncodedParams

The encoded parameter for the algorithm ID.

Return value

CX509AlgorithmIdentifier *

The fully constructed object.


NewLC()

static IMPORT_C CX509AlgorithmIdentifier *NewLC(TAlgorithmId aAlgorithmId, const TDesC8 &aEncodedParams);

Description

Creates a X509 Algorithm Identifier object from the given algorithm ID and the encoded parameter and leaves the object on the cleanup stack.

Parameters

TAlgorithmId aAlgorithmId

The algorithm Id used to build the object.

const TDesC8 &aEncodedParams

The encoded parameter for the algorithm ID.

Return value

CX509AlgorithmIdentifier *

The fully constructed object.

[Top]


Member functions


EncodeASN1DERLC()

IMPORT_C CASN1EncSequence *EncodeASN1DERLC() const;

Description

Creates the ASN1 DER sequence of the X509 algorithm identifier object and leaves it on the cleanup stack.

Return value

CASN1EncSequence *

ASN1 DER sequence of this object.