#include <x509cert.h>
Link against:
x509.lib
Class CX509AlgorithmIdentifier
class CX509AlgorithmIdentifier : public CAlgorithmIdentifier;
Description
Algorithm identifier for an X.509 certificate.
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CAlgorithmIdentifier
- Contains an algorithm ID and any encoded parameters required by that algorithm.
CX509AlgorithmIdentifier
- Algorithm identifier for an X.509 certificate.
Members
Defined in CX509AlgorithmIdentifier
:
Inherited from CAlgorithmIdentifier
:
Inherited from CBase
:
Construction and destruction
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
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
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
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
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
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
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