CX509AlgorithmIdentifier Class Reference

#include <x509cert.h>

class CX509AlgorithmIdentifier : public CAlgorithmIdentifier

Inherits from

Detailed Description

Algorithm identifier for an X.509 certificate.

Since
v6.0

Member Function Documentation

EncodeASN1DERLC ( )

IMPORT_C CASN1EncSequence *EncodeASN1DERLC()const

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

Return Value
ASN1 DER sequence of this object.

NewL ( const TDesC8 & )

IMPORT_C CX509AlgorithmIdentifier *NewL(const TDesC8 &aBinaryData)[static]

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
aBinaryDataThe encoded binary representation.
Return Value
The new algorithm identifier object.

NewL ( const TDesC8 &, TInt & )

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

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

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

NewL ( TAlgorithmId, const TDesC8 & )

IMPORT_C CX509AlgorithmIdentifier *NewL(TAlgorithmIdaAlgorithmId,
const TDesC8 &aEncodedParams
)[static]

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

Parameters
aAlgorithmIdThe algorithm Id used to build the object.
aEncodedParamsThe encoded parameter for the algorithm ID.
Return Value
The fully constructed object.

NewLC ( const TDesC8 & )

IMPORT_C CX509AlgorithmIdentifier *NewLC(const TDesC8 &aBinaryData)[static]

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
aBinaryDataThe encoded binary representation.
Return Value
The new algorithm identifier object.

NewLC ( const TDesC8 &, TInt & )

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

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
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
The new algorithm identifier object.

NewLC ( TAlgorithmId, const TDesC8 & )

IMPORT_C CX509AlgorithmIdentifier *NewLC(TAlgorithmIdaAlgorithmId,
const TDesC8 &aEncodedParams
)[static]

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

Parameters
aAlgorithmIdThe algorithm Id used to build the object.
aEncodedParamsThe encoded parameter for the algorithm ID.
Return Value
The fully constructed object.