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.

Returns: 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.

ParameterDescription
aBinaryDataThe encoded binary representation.

Returns: 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.

ParameterDescription
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.

Returns: 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.

ParameterDescription
aAlgorithmIdThe algorithm Id used to build the object.
aEncodedParamsThe encoded parameter for the algorithm ID.

Returns: 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.

ParameterDescription
aBinaryDataThe encoded binary representation.

Returns: 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.

ParameterDescription
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.

Returns: 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.

ParameterDescription
aAlgorithmIdThe algorithm Id used to build the object.
aEncodedParamsThe encoded parameter for the algorithm ID.

Returns: The fully constructed object.