»
Symbian OS v9.3 »
Symbian OS reference »
C++ component reference »
Security CERTMAN »
CX509AlgorithmIdentifier
Location:
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
:
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
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
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
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
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
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
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
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