Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from CAlgorithmIdentifier:

Inherited from CBase:


Construction and destruction


NewL(const TDesC8 &)

IMPORT_C static 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(const TDesC8 &)

IMPORT_C static 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(const TDesC8 &,TInt &)

IMPORT_C static 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(const TDesC8 &,TInt &)

IMPORT_C static 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(TAlgorithmId,const TDesC8 &)

IMPORT_C static 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(TAlgorithmId,const TDesC8 &)

IMPORT_C static 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()const

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.